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
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 18,020 community submitted regex patterns...
3
ISO 8601 date
PCRE (PHP <7.3)
Validates a date with ISO 8601 format. Source: http://www.pelagodesign.com/blog/2009/05/20/iso-8601-date-validation-that-doesnt-suck/
Submitted by
anonymous
-
10 years ago
5
parsing CSV file
PCRE (PHP <7.3)
It correctly handles simple values, empty values, and quoted values with commas inside.
Submitted by
Viktor Lova aka nsinreal
-
10 years ago
3
Twitch URL Regex
Python
Can grab all kinds of valid twitch URLs.
Submitted by
Mio
-
10 years ago
1
4-digit numeric w/o leading zero and no repeat digits
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 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
-
10 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
-
10 years ago
1
french phone number (intl format)
PCRE (PHP <7.3)
little matcher for french phone number in international format (example: +33231348228)
Submitted by
Nolwennig
-
10 years ago
3
white space before punctuations, outside script and code tags
PCRE (PHP <7.3)
white space before punctuations, outside script and code tags
Submitted by
ced
-
10 years ago
1
IP v4 format validation
PCRE (PHP <7.3)
Valid 0.0.0.0 1.1.1.1 101.101.101.101 255.255.255.255 156.0.1.10...
Submitted by
NexRezzo
-
10 years ago
1
Indian Phone Numbers!
PCRE (PHP <7.3)
This is not supported in Javascript! Works well for php, python. Examples: +91-8800119719, 08800119719, 8800119719, +918800119719 etc.
Submitted by
Prateek Jain
-
9 years ago
6
IOS3166 Country Code Identification REGEX
Python
IOS3166 Country Code Identification REGEX
Submitted by
theitgeek@recu.org.uk
-
9 years ago
4
IPV4 address validation using recursion
PCRE (PHP <7.3)
Validate IPv4 addresses using PCRE's recursion patterns. A shorter but less efficient alternative to https://regex101.com/r/wZ6oY5/1
Submitted by
Captain Haddock
-
9 years ago
3
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
5
Latitude,Longitude fetcher
PCRE (PHP <7.3)
Useful to work with GoogleMap API.
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
3
Perl
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
dd/mm/yyyy validation regexp
Python
no description available
Submitted by
uknnown
-
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
-
9 years ago
1
...
9
10
11
12
13
...
901
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
@
)?
(
https
?
:
)?
(
\/\/
)?
(
www
\.
)?
(
(
[
a
-
z0
-
9
\p{L}
]
[
a
-
z0
-
9
\p{L}
-
\.
]
{1,61}
)
(
[
a
-
z0
-
9
\p{L}
]
\.
[
a
-
z0
-
9
\p{L}
]
[
a
-
z
\p{L}
-
]
)*
(
[
a
-
z0
-
9
\p{L}
]
)+
\/
)?
(
#!
\/
)?
(
[
a
-
z0
-
9
]
[
a
-
z0
-
9.
]
{1,61}
)
(
[
\/
|
\?
]
.
*
)*
$
/
gmi
Open regex in editor
Description
unicode, IDN, usual domains
Submitted by
anonymous
-
8 years ago