Mega Code Archive

 
Categories / ASP.Net Tutorial / Validation
 

The predefined character classes

. :    Any character \d:    Any digit  \D:    Any non-digit  \s:    Any white-space character (such  as spaces, tabs, newlines, returns, and backspaces) \S:    Any character other than a white space character \w:    Any word character  \W:    Any character other than a word  character