Regular Expressions 101

Sponsors

Library entries

3
pcre

apache access log

parse the apache access log
Submitted by pagu - 6 years ago
3
pcre

Active Affiliate, Contractor or Employee

no description available
Submitted by MR - 6 years ago
3
pcre

JSON recognition

no description available
Submitted by anonymous - 6 years ago
3
python

Capture Query Strings

A solution for capture query params.
Submitted by Rafael Laurindo - 6 years ago
3
python

Email

Python
Submitted by anonymous - 6 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