Typical Regex Character Set Shortcuts
<<<< ^^^^^ >>>>

Very platform dependent

Shortcut Equivalent
Character
Set
Comment
\d [0-9] digit
\D [^0-9] nondigit
\s [ \t\n\r] whitespace
\S [^ \t\n\r] nonwhitespace
\w [a-zA-Z0-9] "word char" : i.e. alphanum, not space or punctuation
\W [^a-zA-Z0-9] "word separator" : i.e. space or punctuation, also not EOL or BOL
<<<< ^^^^^ >>>>

 
 
 
 
Copyright (C) 2001 by Steve Litt, you can freely distribute unmodified copies if this copyright notice and disclaimer are intact.  This material originally appeared on Troubleshooters.Com.

This presentation has no warrantee, express or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the presentation is with you. Neither the author nor those who show the slideshow are responsible for any damage caused by errors, omissions, or anything else relating to this slideshow.
 

12.html

Exit Slideshow