Metacharacters for Matching Types of Characters : Regular Expression « Validation « ASP.NET Tutorial

ASP.NET Tutorial
1. ASP.Net Instroduction
2. Language Basics
3. ASP.net Controls
4. HTML Controls
5. Page Lifecycle
6. Response
7. Collections
8. Validation
9. Development
10. File Directory
11. Sessions
12. Cookie
13. Cache
14. Custom Controls
15. Profile
16. Configuration
17. LINQ
18. ADO.net Database
19. Data Binding
20. Ajax
21. Authentication Authorization
22. I18N
23. Mobile
24. WebPart
25. XML
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
ASP.NET Tutorial » Validation » Regular Expression 
8. 9. 4. Metacharacters for Matching Types of Characters
Character Class       Description 
.                     Matches any character except \n.
[aeiou]               Matches any single character specified in the set.
[^aeiou]              Matches any character not specified in the set.
[3-7a-dA-D]           Matches any character specified in the specified ranges (in the example the ranges are 3¨C7, a¨Cd, A¨CD).
\w                    Matches any word character; that is, any alphanumeric character or the underscore (_).
\W                    Matches any nonword character.
\s                    Matches any whitespace character (space, tab, form-feed, newline, carriage return, or vertical feed).
\S                    Matches any nonwhitespace character.
\d                    Matches any decimal character.
\D                    Matches any nondecimal character.
8. 9. Regular Expression
8. 9. 1. The predefined character classes
8. 9. 2. quantifiers used to create patterns that match a variable number of characters at a certain position in the string
8. 9. 3. Metacharacters for Matching Single Characters
8. 9. 4. Metacharacters for Matching Types of Characters
8. 9. 5. Quantifiers
8. 9. 6. Commonly Used Regular Expressions
8. 9. 7. RegularExpressionValidator compares value against a regular expression
8. 9. 8. Regular Expression based validation (C#)
8. 9. 9. Use asp:RegularExpressionValidator to check the zip code
8. 9. 10. Use asp:RegularExpressionValidator to check the email address
8. 9. 11. Use Regular expression to validate a Phone number
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.