Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 14,840 community submitted regex patterns...
6
9 upvotes, 3 downvotes (score 46.8%) (You must be signed in to vote)
Validate Birth Date (d/m/Y)
PCRE (PHP <7.3)
From 1970 to 2015 Replace: (\d{4})$ for (19[7-9]\d|200-1)$
Submitted by
Valdeir Santana
-
8 years ago
2015-11-20 05:28
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Strong Password
PCRE (PHP <7.3)
1 digit 1 lower case 1 upper case 1 special character (no-space) 8-20 length
Submitted by
Femi Fapohunda
-
8 years ago
2015-11-19 21:50
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
CEP
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-11-19 16:03
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Excluir string en nombre de imagen
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-11-19 11:50
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
SN Matcher
PCRE (PHP <7.3)
^([A-E])([A-C])([0-2])(\d)([0-5])(\d)([B])(\d{6})([A-Z0-9]{2})(\d{3})$
Submitted by
anonymous
-
8 years ago
2015-11-19 10:41
-3
2 upvotes, 5 downvotes (score 8.2%) (You must be signed in to vote)
retrieve hostname without subdomain
PCRE (PHP <7.3)
no description available
Submitted by
Diego Zuluaga
-
8 years ago
2015-11-19 00:55
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
nathan
PCRE (PHP <7.3)
no description available
Submitted by
nathan
-
8 years ago
2015-11-18 21:55
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Fecha ISO
ECMAScript (JavaScript)
Comprueba si una fecha está en formato ISO: aaaa/mm/dd. Obtiene 3 datos: 1=año; 2=mes; 3=dia, para su cambio al formato español dd/mm/aaaa. Detecta si el mes y el día pueden existir (no incluye mes febrero ni bisiestos)
Submitted by
Alfonso
-
8 years ago
2015-11-18 20:11
8
11 upvotes, 3 downvotes (score 52.4%) (You must be signed in to vote)
money: either 0 or 2 dp
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-11-18 19:34
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Tel
PCRE (PHP <7.3)
Simple tel regex
Submitted by
anonymous
-
8 years ago
2015-11-18 16:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Desc
PCRE (PHP <7.3)
match /* @Desc("(.)");
Submitted by
anonymous
-
8 years ago
2015-11-18 15:48
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Delphi - FieldName GrepSearch Filter
ECMAScript (JavaScript)
Filtro para utilização no GrepSearch do Delphi para encontrar Dataset.FieldName
Submitted by
Moisés Porto Rodrigues
-
8 years ago
2015-11-18 15:21
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
02
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-11-18 13:49
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Trim to newline
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-11-18 13:06
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
a
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-11-18 12:45
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Pokemon move splitter
PCRE (PHP <7.3)
For splitting up moves from breeding.
Submitted by
anonymous
-
8 years ago
2015-11-18 11:22
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
search self capture in block
PCRE (PHP <7.3)
in os development such code caused memory leak, [some do:^(){ self.someProperty = value; }]; let's fixed it.
Submitted by
wangchaojs02
-
8 years ago
2015-11-18 11:12
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-11-18 10:14
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Azeri full name js validation
ECMAScript (JavaScript)
no description available
Submitted by
Noone
-
8 years ago
2015-11-18 06:48
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
multiple IPv4 separated by , or ;
ECMAScript (JavaScript)
no description available
Submitted by
by ab
-
8 years ago
2015-11-17 22:39
1
...
626
627
628
629
630
631
632
...
742
JS Regex to get full filename from url.
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(
[
-a
-
zA
-
Z0
-
9
]
+
)
(
\.
[
0
-
9a
-
z
]
{2,5}
)
$
/
Open regex in editor
Description
Loading markdown...
Submitted by
Vivek Shah
-
8 years ago
2015-11-02 20:23