Regular Expressions 101

Library entries

12
javascript

Username with "_" "-"

no description available
Submitted by Gianvy - 8 years ago
12
javascript

US Currency Format

no description available
Submitted by anonymous - 7 years ago
11
pcre

Codice fiscale

Check "codice fiscale"
Submitted by Luca - 8 years ago
10
pcre

remove comments from php code

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

Full url parse, domain, path, params

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

Validate Base64 single-line string

no description available
Submitted by ka. - 10 years ago

Disorted Email Addresses

Vote

51

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 - 10 years ago