Regular Expressions 101

Sponsors

Library entries

4
pcre

Phone number

no description available
Submitted by Mark Landry - 7 years ago
4
javascript

match brackets outside quotes

no description available
Submitted by Jerry - 7 years ago
4
javascript

url

no description available
Submitted by anonymous - 7 years ago
4
javascript

MAC address

a mac address separated by dashes or colons.
Submitted by anonymous - 7 years ago
4
javascript

Full e-mail validator

no description available
Submitted by anonymous - 7 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