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
E-mail
PCRE (PHP <7.3)
Best guess of e-mail -- using edq
Submitted by
anonymous
-
4 years ago
1
E-mail
PCRE (PHP <7.3)
Best guess of e-mail
Submitted by
anonymous
-
4 years ago
1
stylus --watch
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
exclude US traffic in GA
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Mexican Phone
ECMAScript (JavaScript)
Rules for Mexico: Numbers must be 10 digits long Area code is either 2 or 3 digits Remaining phone number has either 7 or 8 digits in groups of 3 or 4
Submitted by
anonymous
-
4 years ago
1
a_link
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
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
...
773
774
775
776
777
...
902
Community Library Entry
1
Regular Expression
Python
r"
:
\n
{2}
(
.
*
?
)
\n
*
?
左滑看接口
.
*
?
(
i
|
R
\d.
*
?
)
处理器
\n
{2}
(
(
.
*
?
)
独立显卡
){0,1}
\n
{0,2}
(
\d
*
?
)
GB
内存
\n
{2}
(
\d
*
?
)
GB
固态硬盘
.
*
?
机身重
(
.
*
?
kg
)
.
*
?
(
\d
*
?
)
元
.
*
?
优点!
\n
{2}
(
.
*
?
)
\n
*
?
缺点
.
*
?
内存
.
(
板载
)
.
*
?
色域覆盖
.
{0,1}
(
.
*
?
)
,平均△E
.
(
\d
{1,2}
\.
\d
{2}
)
,
"
gms
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago