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
Match anything inside round brackets including the brackets and white space before them.
PCRE (PHP <7.3)
no description available
Submitted by
RazerMoon
-
4 years ago
1
Date time recognition
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Influx part file
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
U.S. phone number format: XXX-XXX-XXXX
Python
no description available
Submitted by
anonymous
-
4 years ago
1
url and os from selenium hub
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
java关键词匹配
PCRE (PHP <7.3)
nothing
Submitted by
anonymous
-
4 years ago
1
java判断整体多项式的合法性
ECMAScript (JavaScript)
java_PTA_6作业
Submitted by
anonymous
-
4 years ago
1
java截取出单项式
ECMAScript (JavaScript)
java_PTA_6作业
Submitted by
anonymous
-
4 years ago
1
java判断时间的合法性
ECMAScript (JavaScript)
时间包括有年份月分,天数,时分秒
Submitted by
anonymous
-
4 years ago
1
Arc, Select paths
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
Find repeating adjacent characters in a string
PCRE (PHP <7.3)
In an interview, I was asked to remove all repeating adjacent characters in a string except one. For example, input : abbccasdjajksdhkjaaaaa output : abcasdjajksdhkja In Java, the syntax will be s.replaceAll("(.)\\1{1,}", "$1");...
Submitted by
anonymous
-
4 years ago
1
Egyptian Phone Number Format
Python
This regex extract all the phone number (Egyptian Format: xxx xxxx-xxxx)
Submitted by
anonymous
-
4 years ago
1
get_units_w_or
PCRE (PHP <7.3)
matches units that are not next to 'and' (so matches all units next to 'or')
Submitted by
anonymous
-
4 years ago
1
Multiline Copyright detection anywhere
Python
no description available
Submitted by
anonymous
-
4 years ago
1
Multiline Copyright at beginning
Python
no description available
Submitted by
anonymous
-
4 years ago
1
Tag <p>...</p>
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
H1 Tag <h1>...</h1>
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
H2 Tag <h2>...</h2>
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
H3 Tag <h3>...</h3>
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Title Tag <title>...</title>
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
...
288
289
290
291
292
...
902
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
(
[
a
-
zA
-
Z0
-
9_
\-\.
]
+
)
@
(
[
a
-
zA
-
Z0
-
9_
\-\.
]
+
)
\.
(
[
a
-
zA
-
Z
]
{2,5}
){1,25}
)+
(
[
;.
]
(
(
[
a
-
zA
-
Z0
-
9_
\-\.
]
+
)
@
(
[
a
-
zA
-
Z0
-
9_
\-\.
]
+
)
\.
(
[
a
-
zA
-
Z
]
{2,5}
){1,25}
)+
)*
$
/
gm
Open regex in editor
Description
list of email
Submitted by
anonymous
-
a year ago