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,040 community submitted regex patterns...
3
youtube id match
PCRE (PHP <7.3)
youtube id 17 matches
Submitted by
Wiliam Castilhos, Ramon Barros
-
10 years ago
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
-
10 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
-
10 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
...
902
Community Library Entry
1
Regular Expression
Python
r"
\b
(?P<date>
(?P<day>
(?:
(?:
0
[
1
-
9
]
|
[
12
]
\d
|
30
)
(?=
[
-
:
\.\/
]
(?:
04
|
06
|
09
|
11
))
)
|
(?:
(?:
0
[
1
-
9
]
|
[
12
]
\d
|
3
[
01
]
)
(?=
[
-
:
\.\/
]
(?:
01
|
03
|
05
|
07
|
08
|
10
|
12
))
)
|
(?:
(?:
0
[
1
-
9
]
|
[
12
]
\d
)
(?=
[
-
:
\.\/
]
02
[
-
:
\.\/
]
\d\d
(?:(
[
02468
]
[
048
]
)|
(
[
13579
]
[
26
]
)))
(?!
[
-
:
\.\/
]
02
[
-
:
\.\/
]
(?:(
[
2468
]
[
1235679
]
)|
(
[
13579
]
[
01345789
]
)
00
))
)
|
(?:
(?:
0
[
1
-
9
]
|
1
\d
|
2
[
0
-
8
]
)
(?=
[
-
:
\.\/
]
02
[
-
:
\.\/
]
)
)
)
[
-
:
\.\/
]
(?P<month>
0
[
1
-
9
]
|
1
[
012
]
)
[
-
:
\.\/
]
(?P<year>
[
1
-
9
]
\d
{3}
)
)
\b
"
gmx
Open regex in editor
Description
1000-9999 years '-', ' ', ':', '.', or '/' may be user as divider
Submitted by
furren
-
9 months ago