Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Relevance
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 600 community submitted regex patterns...
238
Matching email addresses per RFC5322
PCRE (PHP <7.3)
The BNF rules from RFC 5322 transformed to PCRE by Nikita Popov and described in the post http://nikic.github.io/2012/06/15/The-true-power-of-regular-expressions.html.
Submitted by
Michael Musson
-
12 years ago
53
Disorted Email Addresses
PCRE (PHP <7.3)
Matches distorted email addresses and converts them back to real ones.
Submitted by
dislick
-
13 years ago
31
Email address (most used)
ECMAScript (JavaScript)
Email address, most used cases
Submitted by
Jago
-
10 years ago
18
Email validation
PCRE (PHP <7.3)
no description available
Submitted by
tutsplus.com
-
11 years ago
21
Email (RFC2822)
Recommended
ECMAScript (JavaScript)
Email address compliant with RFC2822
Submitted by
Jago
-
10 years ago
13
Match Gmail Email
Recommended
PCRE (PHP <7.3)
Match Gmail Email
Submitted by
Óscar EnrÃquez
-
11 years ago
15
Email regex validation
ECMAScript (JavaScript)
RegEx email /^((?!\.)[\w-_.]*)(@\w+)(\.\w+(\.\w+)?)$/gim; Just playing with Reg Ex. This to validate emails in following ways ...
Submitted by
https://www.linkedin.com/in/peralta-steve-atileon/
-
6 years ago
(Last modified 2 years ago)
10
Strip Email ID from Name
PCRE (PHP <7.3)
Use this regex to select all characters up to the "" bracket. It works across multiple lines. You can get an email list with only the IDs. This is the pattern it matches: Alpha Person Step 1 (.*) $ Step 2 [$.$ gives you aperson@whatever.org...
Submitted by
Jonathan Davidar
-
11 years ago
6
Email with + symbol
ECMAScript (JavaScript)
email that accepts the plus (+) symbol
Submitted by
luckcheese
-
10 years ago
7
simple email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
-2
Valid Email
ECMAScript (JavaScript)
Use this Regex for server-side validation also with some slight modifications like so for .NET -- @\w+(-+.']\w+)@\w+([-.]\w+)\.[a-zA-Z0-9]{2,6}([-.{2,6})*;
Submitted by
Fred Scales
-
10 years ago
6
Email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
3
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
5
email (tikhonov)
ECMAScript (JavaScript)
CheckEmail Login start or end simbols ._- ] .login@domain.com - fail -login@domain.com - fail _login@domain.com - fail login.@domain.com - fail...
Submitted by
Tikhonov Alexander <123546.90@mail.ru>
-
10 years ago
(Last modified 2 years ago)
6
Find and extract email domain
Python
Find and extract email domain. Ex: test@example.pt -> extract 'example.pt'
Submitted by
Fnxk
-
9 years ago
1
Matching an Email
ECMAScript (JavaScript)
no description available
Submitted by
appsunited
-
12 years ago
1
email regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
4
Mask an email regex
PCRE (PHP <7.3)
Replaces second to last but one characters in email with asterisks (@ and last . are protected): john.travolta@gmail.com > j*a@g**.m
Submitted by
Wiktor Stribiżew
-
10 years ago
3
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
12 years ago
1
2
3
...
30