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...
1
Regular Expression Sanitising User Names (answering https://stackoverflow.com/q/63393726/1397131)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Match multiple strings in text in any worder
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
matches any MAC ID in router log files
Python
no description available
Submitted by
anonymous
-
4 years ago
1
telegram
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
email or empty
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
Any or empty
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
匹配html中的关键词
PCRE (PHP <7.3)
排除掉标签中带href的 php使用方法 ` /** 将HTML中的关键词 替换为关键词链接 @param string $html 处理的html...
Submitted by
anonymous
-
4 years ago
1
Handle crazy key value pairs
Python
Hunts for the key and value in environment variables separated by newlines. _ All keys must be uppercase _
Submitted by
anonymous
-
4 years ago
1
iMiner
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
ESCAPE VALUE FROM KEY WITH SPECIAL CHARACTERS
Python
This regex will separate KEY=VALUE when VALUE has special characters that cause bash to misinterpret them
Submitted by
anonymous
-
4 years ago
1
BeanStruct from columns
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Parts pdp's
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
GCS streams file
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
TN Arc Story
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
ICD10
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
update survey calculation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
labels_calculation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Bitcoin
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
myregex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
C++ parcer for __PRETTY_FUNCTION__
PCRE (PHP <7.3)
it filters out most of the information and leaves the class name and the function name. in case of function without class, it will capture namespace and function name.
Submitted by
anonymous
-
4 years ago
1
...
248
249
250
251
252
...
900
Community Library Entry
0
Regular Expression
Python
r"
^
(?P<brand>
\S
+
(?:
.
*
Bio
)?
\s
(?!
\d
|
x
)
)?
(?:
(?P<name>
.
+
)
(?=
\s\S
*
\d
+
\S
*
|
\s
pièce
)
\s
(?P<quantity>
\S
*
\d
+
.
*
|
pièce
)
|
(?P<name2>
\D.
+
)?
(?P<quantity2>
\d.
+
)?
)
"
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago