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 5,840 community submitted regex patterns...
0
Match shell (sh / bash) shebangs
Python
This matches shell shebangs (bash / sh). It could be used e.g. to find shell files (via grep -m1 -EIrl '').
Submitted by
anonymous
-
4 years ago
0
select 2 lines
Python
no description available
Submitted by
anonymous
-
4 years ago
0
select per lines
Python
lawbyte
Submitted by
anonymous
-
4 years ago
0
domain_check
Python
check if a gives string is a domain 检查一个给定的字符串是不是域名
Submitted by
anonymous
-
4 years ago
0
id
Python
写一个正则表达式判断一个字符串是否是ip地址 规则:一个ip地址由4个数字组成,每个数字之间用.连接。每个数字的大小是0-255 例如:255.189.10.37 正确 256.189.89.9 错误
Submitted by
anonymous
-
4 years ago
0
Ejection Fraction
Python
A regex designed to capture the ejection fraction from clinical notes
Submitted by
anonymous
-
4 years ago
0
v1
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
P7002 RegEx to recognize a text pattern
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
Lấy nội dung tên tiếng việt
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
zyBooks Compare Output test with Input
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
zyBooks Compare Output test with Input
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
zyBooks Compare Output test with optional Input
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
zyBooks Compare Unit test
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
Remove empty line ➜ ^\s*[\r\n]
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
indent
ECMAScript (JavaScript)
(.+?)((\n\s.*)+)
Submitted by
anonymous
-
4 years ago
0
From the end till the first delimiter
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
Markdown code block
ECMAScript (JavaScript)
^({3}.\n\r?^{3})
Submitted by
anonymous
-
4 years ago
0
Capital Social-
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
Ternary Operator replacement with OR
Python
no description available
Submitted by
anonymous
-
4 years ago
0
Fecha
Python
no description available
Submitted by
anonymous
-
4 years ago
1
...
119
120
121
122
123
...
292
Community Library Entry
0
Regular Expression
Python
r"
to=<
(?P<email>
\S
+
)
>,
\s
relay=
(?!
10
\.
10
\.
10
\.
)
(?P<relay>
\S
+
)
,
.
+
dsn=
(?P<dsn>
\d
+
\.
\d
+
\.
\d
+
)
,
\s
status=
(?!
sent
)
(?P<status>
\w
)
\w
+
\s
\(
(?:
host
\s\S
+
\[
\S
+
\]
\s
said:
\s
)?
(?P<code>
\d
{3}
)?
"
g
Open regex in editor
Description
Full regex for failed sendings
Submitted by
anonymous
-
8 years ago