Regular Expressions 101

Sponsors

Library entries

5
pcre

ipv6

Match an ipv6 address
Submitted by Frusty - 6 years ago
5
python

Match Only Text

no description available
Submitted by anonymous - 6 years ago
6
pcre

ID003 device info

no description available
Submitted by sasjaq - 8 years ago
6
pcre

json

{1:aa,2:bb,3:"aa:bb"}
Submitted by suat & umut - 8 years ago
6
pcre

Extract style

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

Username:Password

Regex For finding username:password
Submitted by Ghost - 7 years ago
6
python

Find consecutive duplicate words

no description available
Submitted by anonymous - 7 years ago
7
python

CSS Import

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

rsyslog test

global modifier
Submitted by dtmland - 7 years ago

Disorted Email Addresses

Vote

49

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