| Home | Business | Personal | Contact |
||
Max S. Dunn...when there is a will, there is a way |
||
\r return
\n line feed
\s space
\w word char
\d number
^ \A Match beginning
$ \Z Match end
\b Match word boundary
*? Lazy match
?: Don’t capture
q(?!u) Negative lookahead, find q not followed by u
q(?=u) Positive lookahead, find q followed by u but don’t match u
(?<!a)b Negative lookbehind. Matches b that is not preceeded by a
(?<=a)b Positive lookbehind