HTML and CSS Reference
In-Depth Information
Pattern
Matches
\S
Any nonwhitespace character
\w
Any word character (letters, digits, and the underscore)
\W
Any nonword character
\d
Any digit (0-9)
\D
Any nondigit
(abc)
The characters a , b , and c in that order
\1, \2, ...
First matched pattern, second matched pattern, ...
Note
For more information on regular expressions, including lots more examples, some advanced features I
haven't gone into here, and details about dialect variations, I recommend Mastering Regular Expressions ,
3rd Edition, by Jeffrey E. F. Friedl (O'Reilly, 2006).
 
Search WWH ::




Custom Search