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...
0
Pig Latin regex
PCRE (PHP <7.3)
I got really bored so I made this (not so fancy) pig latin generator
Submitted by
jojodmo
-
10 years ago
1
aa
PCRE (PHP <7.3)
aaa
Submitted by
aaa
-
10 years ago
0
Password check - at least 1 char, 1 numeric, 8-64 chars long
PCRE (PHP <7.3)
Allows for a wide range of special characters. If you want it to have no upper bound, remove the 64 (but leave the 8,.
Submitted by
Peter Speden
-
10 years ago
1
Quote Parsing
PCRE (PHP <7.3)
Parses quotes and can be escaped
Submitted by
Vihan B.
-
10 years ago
1
Email with groups
ECMAScript (JavaScript)
Groups for: Whole email user domain Matches valid emails with numbers, chars, dots and dashes, domains with extensions of 2 or 3 letters.
Submitted by
Ruben Paz
-
10 years ago
0
For justin
PCRE (PHP <7.3)
dis is why you match shit lots
Submitted by
anonymous
-
10 years ago
1
Liberal Email Address
ECMAScript (JavaScript)
Very simple & basic. More forgiving, less stringent. Allows anything which looks reasonably valid. Allows one at-symbol. Requires a two part hostname (i.e. abc@localhost is not allowed)
Submitted by
billinghamj
-
10 years ago
1
Numéro téléphone portable
PCRE (PHP <7.3)
prend en compte les +33 requiert un début par 06 ou 07 accepte les séparateurs de type "." ou " "
Submitted by
brad.inside@gmail.com
-
10 years ago
1
StackOverflow answer for: How can I parse an attribute string to an ar
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
30164958
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Strip / Delete / Remove / empty paragraphs
PCRE (PHP <7.3)
You can format p:empty paragraphs with CSS, but sometimes they are not completely empty. This is meant to remove those.
Submitted by
SocialBlogsiteWebDesign.com
-
10 years ago
1
Phone Guatemala
PCRE (PHP <7.3)
Regex for phones in Guatemala
Submitted by
Rodrigo Polo
-
10 years ago
1
Greatest common divisor
ECMAScript (JavaScript)
Calculates the greatest common divisor of two numbers. Attention: pipes in the substitution separate alternatives. If one alternative does not match, the next alternative is tried if it exists. The substitution must be repeated until it cannot substitute further.
Submitted by
luis140219 on GitHub
-
10 years ago
1
remove link from discuz quoted message
PCRE (PHP <7.3)
no description available
Submitted by
Paul Wang
-
10 years ago
1
Regex not work in online regexEditor but work in actionscript3 code
ECMAScript (JavaScript)
Regex : /^\s\d+\s$(?:\r?\n?)+^\s([\d:,\.]+)\s-->\s([\d:,\.]+)\s$(?:\r?\n?)+((?:.(?:\r?\n?)?)?)(?:\r\n|\r|\n|$)/gm; Test String : 1...
Submitted by
anonymous
-
10 years ago
1
SO Question
PCRE (PHP <7.3)
SO Question
Submitted by
PaperBirdMaster
-
10 years ago
0
Get the root of a Windows path
PCRE (PHP <7.3)
This extracts the "root" (e.g. drive) from a Windows path. See the unit tests for examples
Submitted by
J5lx
-
10 years ago
1
parse discuz video codes
PCRE (PHP <7.3)
no description available
Submitted by
Paul Wang
-
10 years ago
1
Music Chord
PCRE (PHP <7.3)
Find Music Chord
Submitted by
Mins
-
10 years ago
1
Date extractor
ECMAScript (JavaScript)
Substitutes a group of dates by its information and captures the date information. Also allows fooled dates. (2015-02-30, 2015-03-32 for example)
Submitted by
luis140219 on GitHub
-
10 years ago
1
...
98
99
100
101
102
...
901
Community Library Entry
0
Regular Expression
Python
r"
(
[
京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领WVZHKE
]
{1}
[
A
-
Z
]
{1}
(
(
[
0
-
9
]
{5}
[
DF
]
)
|
(
[
DF
]
(
[
A
-
HJ
-
NP
-
Z0
-
9
]
)
[
0
-
9
]
{4}
)
)
)
|
(
[
京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领WVZHKE
]
{1}
[
A
-
Z
]
{1}
[
A
-
HJ
-
NP
-
Z0
-
9
]
{4}
[
A
-
HJ
-
NP
-
Z0
-
9挂学警港澳
]
{1}
)
"
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
7 years ago