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...
1
CSS Selectors
PCRE2 (PHP >=7.3)
Captures CSS Selectors along with combinators
Submitted by
Joseph R
-
5 months 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
-
5 months 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
-
5 months ago
1
Fonction.Code
PCRE2 (PHP >=7.3)
Fonction.Code
Submitted by
Groupe 18
-
5 months ago
(Last modified 4 months 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
-
5 months ago
(Last modified 5 months ago)
1
省市县 正则
PCRE2 (PHP >=7.3)
省市县
Submitted by
anonymous
-
5 months 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
-
5 months ago
1
match a username after 'user:'
ECMAScript (JavaScript)
self explainatory title, username must not contain any exotic character.
Submitted by
Lagoffre
-
5 months 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
-
5 months ago
1
Email validation
PCRE2 (PHP >=7.3)
This code used to validate any email.
Submitted by
anonymous
-
5 months 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
-
5 months ago
(Last modified 5 months 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
-
5 months ago
(Last modified 5 months ago)
1
Exponential Value Identification
PCRE2 (PHP >=7.3)
Exponential Value Identification
Submitted by
Nimit Bhagat
-
5 months ago
1
Email id filter
PCRE2 (PHP >=7.3)
This is a filter for E-mail id
Submitted by
anonymous
-
5 months 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
-
5 months ago
1
Birth date check format yyyy-mm-dd
ECMAScript (JavaScript)
Start from 1900-01-01
Submitted by
anonymous
-
5 months 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
-
5 months ago
1
Best birth date check
ECMAScript (JavaScript)
Format YYYY-MM-JJ
Submitted by
anonymous
-
5 months ago
1
https://regex101.com/r/8TUykT/1
PCRE2 (PHP >=7.3)
/(?: ?\G|^cats are )((?:silly|cute)(?: |$))/
Submitted by
anonymous
-
5 months ago
1
WT Forum
PCRE2 (PHP >=7.3)
WTFORUMS
Submitted by
wttmforums.com
-
5 months ago
1
...
15
16
17
18
19
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(
[
A
-
z
]
{3}
[
\d
]
{2}
[
\d
]
{1,2}
:
[
\d
]
{1,2}
:
[
\d
]
{1,2}
)
(
[
\d
]
{1,3}
\.
[
\d
]
{1,3}
\.
[
\d
]
{1,3}
\.
[
\d
]
{1,3}
)
(
\[
S
\=
[
\d
]
{9}
\]
)
(
\[
[
A
-
z
]
ID=
.
{1,18}
\]
)
\s
{1,3}
(
\(
N
\s
[
\d
]
{5,20}
\)
)?
(
\s
+
(
.
*
)
)
\s
{1,3}
?
(
\[
Time:
.
*
\]
)?
/
gm
Open regex in editor
Description
no description available
Submitted by
sdf
-
4 years ago