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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 15,360 community submitted regex patterns...
1
1 lower 1 upper 1 special char, 8 to 18 chars...
PCRE2 (PHP >=7.3)
1 lower 1 upper 1 special char, 8 to 18 chars...
Submitted by
anonymous
-
15 hours ago
1
HTML attributes
ECMAScript (JavaScript)
Find specific HTML attributes
Submitted by
Joseph R.
-
2 days ago
1
CSS Selectors
PCRE2 (PHP >=7.3)
Captures CSS Selectors along with combinators
Submitted by
Joseph R
-
4 days ago
1
Minecraft whisper commands
PCRE2 (PHP >=7.3)
This regex lets you extract all the uses of the whisper command in Minecraft log files.
Submitted by
anonymous
-
4 days ago
1
Extract Grasemonkey userscript metadata
PCRE2 (PHP >=7.3)
This regex uses groups to extract metadata from Grasemonkey/Tampermonky user scripts.
Submitted by
pikapower9080
-
4 days ago
1
Fonction.Code
PCRE2 (PHP >=7.3)
Fonction.Code
Submitted by
Groupe 18
-
5 days ago
(Last modified 5 days ago)
1
NIR Sécurité Sociale en France
PCRE2 (PHP >=7.3)
Cette regex est un fork de celle-ci permettant de valider un numéro de sécurité sociale français et prenant en compte les cas spécifiques définis sur cette page Wikipedia
Submitted by
Nicolas Jourdain
-
6 days ago
(Last modified 6 days ago)
1
省市县 正则
PCRE2 (PHP >=7.3)
省市县
Submitted by
anonymous
-
6 days ago
1
match a collection of usernames after tag 'users:' and between '[...]' and separated by commas
ECMAScript (JavaScript)
self explainatory title, usernames array must not contain any exotic character besides ,
Submitted by
Lagoffre
-
6 days ago
1
match a username after 'user:'
ECMAScript (JavaScript)
self explainatory title, username must not contain any exotic character.
Submitted by
Lagoffre
-
6 days ago
1
change markdown image embeds to html image embeds
PCRE2 (PHP >=7.3)
change markdown image embeds to html image embeds
Submitted by
spierceVR
-
7 days ago
1
Email validation
PCRE2 (PHP >=7.3)
This code used to validate any email.
Submitted by
anonymous
-
8 days ago
1
match time offset from timezone offset string
ECMAScript (JavaScript)
match offset from utc offset string returned by the timeZoneName property of an Intl.DateTimeFormat object. (see MDN documentation here)
Submitted by
Lagoffre
-
9 days ago
(Last modified 9 days ago)
1
Domain with protocol, Username, Third-Level-Domain, Second-Level-Domain, Top-Level-Domain and Port.
PCRE2 (PHP >=7.3)
Get Complete Domain with protocol, username, Third-Level-Domain, Second-Level-Domain, Top-Level-Domain and Port For Example: Course at https://udemy.com/path/to/course Test at http://user@sample.com/path Something ftp://domain.com:80/any...
Submitted by
amnd33p
-
10 days ago
(Last modified 10 days ago)
1
Exponential Value Identification
PCRE2 (PHP >=7.3)
Exponential Value Identification
Submitted by
Nimit Bhagat
-
12 days ago
1
Email id filter
PCRE2 (PHP >=7.3)
This is a filter for E-mail id
Submitted by
anonymous
-
13 days ago
1
(Good enough) Birth Date match
PCRE2 (PHP >=7.3)
Follows ISO 8601 standard (YYYY-MM-DD) $1 is year, $2 is month and $3 is day (for substitution)
Submitted by
Danry Bir
-
13 days ago
1
Birth date check format yyyy-mm-dd
ECMAScript (JavaScript)
Start from 1900-01-01
Submitted by
anonymous
-
14 days ago
1
C-style compiler directive
PCRE2 (PHP >=7.3)
#(\w+)\s(\w+)\s(\S+) This allows you to capture C-style compiler directives
Submitted by
ThatSoulyGuy
-
14 days ago
1
Best birth date check
ECMAScript (JavaScript)
Format YYYY-MM-JJ
Submitted by
anonymous
-
15 days ago
1
2
3
...
768
Almost working sites regex
0
Regular Expression
Python
r"
(
.
+
?
)
\s
{2,}
(
.
+
?
)
\s
{2,}
(
[
A
-
Z
]
{2}
)
\s
{2,}
(
[
A
-
Z
]
{2,}
)
\s
{2,}
(
\d
+
\s
+
[
A
-
Za
-
z
]
+
\s
*
\d
+
)
\s
{2,}
(
\d
+
\s
+
[
A
-
Za
-
z
]
+
\s
*
\d
+
)
\s
{2,}
(
.
+
?
)
\s
{2,}
(
.
+
?
)
\s
{2,}
(
.
+
?
)
\s
{2,}
(
-
?
\d
+
.\d
+
)
\s
{2,}
(
-
?
\d
+
.\d
+
)
"
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago