Mega Code Archive

 
Categories / ASP.Net Tutorial / Validation
 

Metacharacters for Matching Single Characters

Character Escapes          Description  Ordinary characters        Characters other than .$^{[(|)*+?\ match themselves. \b                         Matches a backspace. \t                         Matches a tab. \r                         Matches a carriage return. \v                         Matches a vertical tab. \f                         Matches a form feed. \n                         Matches a newline. \                          If followed by a special character (one of .$^{[(|)*+?\),                             this character escape matches that character literal.                             For example, \+ matches the + character.