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
C# Tutorial
Regular Expression 57 codes
Home
C# Tutorial
Regular Expression
1 [^o] Match any character that is not an o
2 [A-Z] Match any uppercase character from A to Z
3 B Match a word boundary
4 Capture Collection
5 Create regex to search for IP address pattern
6 Create regex to search for IP address pattern 2
7 Create the compiled regular expression into assembly
8 Do a replace using the Regex
9 Extracting groups from money matches
10 Get Group in a match
11 Get matched parts
12 Get named group from Match
13 Match a phone number
14 Match Group Value
15 Match index and value
16 Match phone numbers
17 Match words that contain any letters in the range b through d
18 Match words that contain k or f
19 Match words that contain the pattern ai
20 Match words that contain the pattern ai or ie
21 Match words that contain two consecutive identical characters
22 Match words that contain u
23 Match words that start with s
24 Match words that start with s and end with e
25 Matching money
26 Name a Regex group
27 New Regex(((
28 New Regex(((abc)(xyz))) 2
29 New Regex(([^]+)[^](1)
30 New Regex((^d)^d+$^D+$)
31 New Regex((abc)(xyz)) 1
32 New Regex((abc))x(1)
33 New Regex((abc)abc((abcd)z)bc)
34 New Regex([^]+[^][^]+)
35 New Regex(^d+$) 3
36 New Regex(^d+$n+, RegexOptions Multiline)
37 New Regex(^d+) 1
38 New Regex(d+$) 2
39 Next Match
40 Regex for Email
41 RegEx Group
42 Regex Replace
43 RegEx Split
44 Regular Expresion Part
45 Regular Expression
46 Return true if strIn is in valid e-mail format
47 Reverse
48 S Match a white-space character
49 Social-security-number matching
50 Strip HTML start and end tags from each string if they are present
51 Th Match the literal characters th
52 Use Regex to validate your input
53 Use Regular Expressions to split string
54 Using Match Collection
55 Using RegEx
56 W Match zero or more word characters
57 W+ Match one or more word characters