Regular Expressions 101

Sponsors

Library entries

1
pcre

jquery regex

no description available
Submitted by Cork - 10 years ago
-8
pcre

Regular exp to exclude a domain

to exclude one domain abc.com
Submitted by Sandy - 10 years ago
1
pcre

Remove Leading and Trailing Spaces

no description available
Submitted by anonymous - 10 years ago

Disorted Email Addresses

Vote

50

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