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
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 5,880 community submitted regex patterns...
-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
-
9 years ago
3
time format HH:mm
ECMAScript (JavaScript)
validates strings in time format HH:mm with hour in 24h format. only accepts up to 23:59
Submitted by
Kelps Leite de Sousa
-
9 years ago
(Last modified 10 months ago)
6
Email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2
sample
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
Replace second (or further) html statement in a whole code
ECMAScript (JavaScript)
This regex replace the second tag content which has the prefix ":". If you want to replace the third, just increase the statement {1} to {2}, and so go on.
Submitted by
Caio Oliveira
-
10 years ago
1
Select inside <a> tag
ECMAScript (JavaScript)
no description available
Submitted by
Vinay
-
10 years ago
1
Parse a HTML URL
Python
Break a URL into parts: protocol url path get parameters hash
Submitted by
Dale O'Brien
-
10 years ago
2
trim string
ECMAScript (JavaScript)
trim leading and trailing whitespace from a string
Submitted by
Dave Atchley
-
10 years ago
3
Twitch URL Regex
Python
Can grab all kinds of valid twitch URLs.
Submitted by
Mio
-
9 years ago
-1
UK Postcode Validation
ECMAScript (JavaScript)
Matches all valid, current UK Postcodes, including Girobank and non-geographic postcodes, irrespective of whether they contain a space. It does not include overseas territories. Adapted from the BS7666 postcode rules at http://www.cabinetoffice.gov.uk/govtalk/schemasstandards/e-gif/datastandards/add...
Submitted by
Ti Marner
-
9 years ago
6
Replace caracters not inside HTM tags
ECMAScript (JavaScript)
Select a character (or string) ingnoring if that element is inside the HTML tags. Useful to apply html tags using replace.
Submitted by
Alex5B
-
9 years ago
6
IOS3166 Country Code Identification REGEX
Python
IOS3166 Country Code Identification REGEX
Submitted by
theitgeek@recu.org.uk
-
9 years ago
3
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
postgesql
Python
no description available
Submitted by
anonymous
-
9 years ago
5
Password strength
ECMAScript (JavaScript)
Regular expression for password validation Rules: 8-120 chars no spaces must contain at least one a-z char must contain at least one A-Z char...
Submitted by
@razvanz
-
9 years ago
1
dd/mm/yyyy validation regexp
Python
no description available
Submitted by
uknnown
-
9 years ago
7
IP Address (with 0s)
ECMAScript (JavaScript)
Matches all valid IP addresses from 0.0.0.0 to 255.255.255.255
Submitted by
Ryan Plummer
-
9 years ago
0
get params from json
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
4
Mobile phone russia
ECMAScript (JavaScript)
Submitted by
Johhny
-
8 years ago
1
US Phone Number
ECMAScript (JavaScript)
The way I like it formatted
Submitted by
@mattbontrager
-
8 years ago
1
...
3
4
5
6
7
...
294
Javascript Email Verification RFC5322
1
Regular Expression
ECMAScript (JavaScript)
/
^
(
(
[^
<>()
\[\]\\
.,;:
\s
@"
]
+
(
\.
[^
<>()
\[\]\\
.,;:
\s
@"
]
+
)*
)
|
(
"
.
+
"
)
)
@
(
(
\[
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
]
)
|
(
(
[
a
-
zA
-
Z
\-
0
-
9
]
+
\.
)+
[
a
-
zA
-
Z
]
{2,}
)
)
$
/
Open regex in editor
Description
Original credit for this expression goes to:
https://emailregex.com/
Submitted by
anonymous
-
8 months ago
(Last modified 8 months ago)