Hi I have a few regular expressions that each work seperately i.e. each find the strings that contain the its pattern. However I want to create an expression that is a combination of them all. Thus this new totalPattern will check if the string contains % at the beginning or end but does not contain \% at the end
Can you tell me what book or site you used to learn this?
1) Mastering Regular Expression, Jeffrey E. F. Friedl, published by O'Reilly.
My copy is a bit dated now and does not contain topics such as 'negative look behind'. I know there is a new edition but I don't know if it contains 'negative look behind'.
2) Programming Perl, Wall, Christiansen & Schwartz, published by O'Reilly.
I cut my teeth on this when I first learned Perl and Perl without regex is a eunuch.
4) The SUN Java developer forums where regex questions come up fairly frequently. Each time I find a regex problem posted that I can't deal with I study the responses and make sure I understand them.
The second edition of Friedl's book does cover negative lookbehind, plus other new goodies like atomic groups and possessive quantifiers. And it has a chapter devoted to Java.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.