Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
VB.Net Tutorial
Regular Expressions 32 codes
Home
VB.Net Tutorial
Regular Expressions
1 (w){1,2} matches a non-word character either one or two times
2 (w+) matches one or more word characters
3 [aeiou] matches all vowels
4 [p{P}d] matches all punctuation and decimal digit characters
5 [sp{P}] matches all white-space and punctuation
6 A regular expression with two numbered groups
7 Any Character
8 Count chars
9 Count line
10 Determines whether input format is valid for an e-mail address
11 EitherOr Pattern Matching with section
12 Every word replaced by another word
13 Match and extract numbers
14 Match Email
15 Match regular expression to string and print out all matches
16 Negative Character Group
17 Negative Unicode Category or Unicode Block
18 Regex CompileToAssembly
19 Regex Matches
20 Regex(w+)
21 Regular expression using character class
22 Regular expression using eitheror
23 Replace first 3 digits
24 String split at commas
25 Unicode Category or Unicode Block
26 Use a numbered group instead of a named group
27 Use MatchCollection
28 Using Regex method Replace
29 Validate for Canada postal code format
30 Validate for US postal code format
31 W matches any non-word character
32 Word count