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,000 community submitted regex patterns...
0
InfixToPost
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Javascript comments!
PCRE (PHP <7.3)
Works with single and multi-line
Submitted by
(:
-
8 years ago
0
校验密码必须包含字母、数字和特殊字符
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
匹配图片title src
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
匹配图片title src
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Find a irregular character in file/directory names
ECMAScript (JavaScript)
Find first ocurrence of a irregular character in a file or dir name.
Submitted by
anonymous
-
8 years ago
0
Match 4 groups of text independent of each other
PCRE (PHP <7.3)
You want to match 4 groups of text where group 1 is exact, group 2 is anything, group 3 is exact, group 4 is anything
Submitted by
anonymous
-
6 years ago
0
Exclusion
PCRE (PHP <7.3)
exclude word exactly - case insensitive
Submitted by
anonymous
-
8 years ago
0
parse html h2-3-4 + content in custom [collapse] tags
PCRE (PHP <7.3)
[collapse] tags are replaced with html code attributes
Submitted by
anonymous
-
8 years ago
0
Replace bad comments
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Timestamp
Python
no description available
Submitted by
anonymous
-
8 years ago
0
Any 'abc' string with at least one a and one b
Python
Any 'abc' string with at least one a and one b
Submitted by
anonymous
-
8 years ago
0
indian car number plate
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
SFMC Fields
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Match consecutive 8 identical numbers regardless of any character at start or end with string length between 8 and 20
PCRE (PHP <7.3)
Match 8 or more consecutive digits irrespective of it's position in the string with string length between 8 and 20. ex: 11111111 - match ASD11111111 - match ASD22222222oook - match 777kjoi77777 - no match etc.,
Submitted by
Cyanotrix
-
8 years ago
0
Confirmation 3
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
链接巧妙取数字
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
排除特定字符
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Linux Updates
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
URL Basic Auth Parser
ECMAScript (JavaScript)
Awesome basic auth parser! Doesn't work if there is a protocol string.
Submitted by
anonymous
-
8 years ago
1
...
407
408
409
410
411
...
900
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
(
[
gG
]
[
iI
]
[
rR
]
?
0
[
aA
]
[
aA
]
)
$
|
^
(
(
(
[
a
-
zA
-
Z
]
[
0
-
9
]
[
0
-
9
]
?
)
|
(
(
[
a
-
zA
-
Z
]
[
a
-
hA
-
Hj
-
yJ
-
Y
]
[
0
-
9
]
[
0
-
9
]
?
)
|
((
[
a
-
zA
-
Z
]
[
0
-
9
]
[
a
-
zA
-
Z
]
)|
(
[
a
-
zA
-
Z
]
[
a
-
hA
-
Hj
-
yJ
-
Y
]
[
0
-
9
]
?
[
a
-
zA
-
Z
]
))
)
)
?
[
0
-
9
]
[
a
-
zA
-
Z
]
{2}
)
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago