Regular Expressions 101

Sponsors

Library entries

0
pcre

match text between two <br/> tags.

no description available
Submitted by gordie - 8 years ago
1
pcre

Match a date in SQL Server format

no description available
Submitted by anonymous - 8 years ago
-2
pcre

Remove /* comments */ from CSS

no description available
Submitted by JerseyMilker - 8 years ago
1
pcre

tesdsa

dsadsadsadsa
Submitted by dasdasdsa - 8 years ago
1
pcre

HTML color search

Searches for hex colors in HTML code.
Submitted by Barlean - 8 years ago
-2
javascript

Matching HTML attributes

no description available
Submitted by anonymous - 8 years ago
2
pcre

named group sample

no description available
Submitted by anonymous - 8 years ago
1
javascript

Ping time

no description available
Submitted by Tilman Griesel - 8 years ago
0
pcre

split on dollar sign

no description available
Submitted by anonymous - 8 years ago

Disorted Email Addresses

Vote

48

Regular Expression
pcre

/
^(?'Username'[-\w\d\.]+?)(?:\s+at\s+|\s*@\s*|\s*(?:[\[\]@]){3}\s*)(?'Domain'[-\w\d\.]*?)\s*(?:dot|\.|(?:[\[\]dot\.]){3,5})\s*(?'TLD'\w+)$
/
gm

Description

Loading markdown...
Submitted by dislick - 9 years ago