Regular Expressions 101

Sponsors

Library entries

27
pcre

Wrap long string to spec length

no description available
Submitted by fullpipe - 9 years ago
31
pcre

ninite

no description available
Submitted by peek - 7 years ago
37
pcre

http://

no description available
Submitted by Mitus M. - 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