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...
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 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
-
4 months ago
1
Fonction.Code
PCRE2 (PHP >=7.3)
Fonction.Code
Submitted by
Groupe 18
-
4 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
-
4 months ago
(Last modified 4 months ago)
1
省市县 正则
PCRE2 (PHP >=7.3)
省市县
Submitted by
anonymous
-
4 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
-
4 months ago
1
match a username after 'user:'
ECMAScript (JavaScript)
self explainatory title, username must not contain any exotic character.
Submitted by
Lagoffre
-
4 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
-
4 months ago
1
Email validation
PCRE2 (PHP >=7.3)
This code used to validate any email.
Submitted by
anonymous
-
4 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
-
4 months ago
(Last modified 4 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
-
4 months ago
(Last modified 4 months ago)
1
Exponential Value Identification
PCRE2 (PHP >=7.3)
Exponential Value Identification
Submitted by
Nimit Bhagat
-
4 months ago
1
Email id filter
PCRE2 (PHP >=7.3)
This is a filter for E-mail id
Submitted by
anonymous
-
4 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
-
4 months ago
1
Birth date check format yyyy-mm-dd
ECMAScript (JavaScript)
Start from 1900-01-01
Submitted by
anonymous
-
4 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
-
4 months ago
1
Best birth date check
ECMAScript (JavaScript)
Format YYYY-MM-JJ
Submitted by
anonymous
-
4 months ago
1
https://regex101.com/r/8TUykT/1
PCRE2 (PHP >=7.3)
/(?: ?\G|^cats are )((?:silly|cute)(?: |$))/
Submitted by
anonymous
-
4 months ago
1
WT Forum
PCRE2 (PHP >=7.3)
WTFORUMS
Submitted by
wttmforums.com
-
4 months ago
1
C-style variable Regex
PCRE2 (PHP >=7.3)
This is a regex for a C-style variable capture. Group 1 is the type, group 2 is the name, group 3 is the operator, and finally, group 4 is the value.
Submitted by
ThatSoulyGuy
-
4 months ago
1
...
14
15
16
17
18
...
901
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
\+
(?:
\d
{1,3}
)?
[
-.
\s
]
?
\(
?
\d
{1,4}
?
\)
?
[
-.
\s
]
?
\d
{1,4}
[
-.
\s
]
?
\d
{1,9}
(?:
[
-.
\s
]
?
\d
+
)?
/
gm
Open regex in editor
Description
spooonful.com
Submitted by
anonymous
-
4 months ago