i\'m pretty new on regex, i have learned something by the way, but is still pour knowledge! so i want ask you for clarification on how it work!
Why is it counter intuitive? /(?<!\\d)\\d{8}(?!\\d)/, here (?<!\\d) comes first, but called lookbehind, (?!\\d) next, but called lookahead. All are counter intuitive.
In the \"Advanced Regular Expresssion\" chapter in Mastering Perl, I have a broken example for which I can\'t figure out a nice fix. The example is perhaps trying to be too clever for its own good, bu
I\'m trying to write some regex that will parse information from alerts generated by Hyperic HQ. The alerts come in as emails with a subject line like:
I use (?<!value=\\\")##(.*)## to match string like##MyString##that\'s not in the form of: <input type=\"text\" value=\"##MyString##\">
I am stuck at one more RegEx. Sample input : project description I want to write RegEx. that if word \"description\" is found and its preceded by word \"project\" then prepend \"project descriptio