regularexpressions
A ‘Start of string + (\d{1L,2}V\d{1L,2}V\d{4}) Date (e.9: 21/3/2006)
$ End of line + ((4\s]+(?=\.Gpglgiflpng))\.\2) Jpg, gif or png image
wz End of string + (9[1-9](1}$1*[1-41{1}[0-9](1}$1*50$) ‘Any number from 1 to $0 inclusive
\b Word boundary + (#2([A-Fa-f0-9]){3}(([A-Fa-fO-9}){3})?) Valid hexadecimal colour code
‘B Not word boundary + ((2=.*\d)(2=.*[a-z])(?=.*[A-Z]).{8,15}) 8 to 15 character string with at least one
(\w+@[a-2A-Z_]+?\.[2-2A-Z2]{2,6}) Email addresses
ee (se) HTML Tags
== 7 0 or 1, ungreedy + [abe) Range (a or b or c) +
Gupper:) Upper case letters 3} 3 or more + [ea] Letter between a and q +
alpha: All letters {3,5}? 3, 4 0r 5, ungreedy + between A and Q +
Ledigit:) Digits | speciat characters wo nth group/subpattern +
Cexdigit:] Hexadecimal digits
L:punet:} Punctuation \ Escape Character + nc | songs or neve
LU:space:) Blank characters: a Carriage return +
Gentri:) Control characters ie Tab + Ee
[:graph:) Printed characters Ww Vertical tab +
prints} Printed characters and ve Form feed + g Global match
[:word:] Digits, letters and (b) Backspace m Multiple lines
So Evalbete|rupincement
= Lookahead assertion + Ungreedy pattern
7 Negative lookahead + sn nth non-passive group
P= Lookbehind assertion + 2 "xyz" in /9(abe(xy2))$/ ro SSD
Negative lookbehind + st aya" in /4(2:ab0)(x92)8/
COnce-only Subexpression | §* Before matched string “ l
20. Condition [if then] s After matched string $ « *
701 Condition [if then else] s+ Last matched string ( \ +
7# Comment $8 Entire matched string ) 1 ?
= Entire input string < >
Ei Items marked + should work in most $$ Literal
regular expression implementations. Available free from
AddedBytes.com