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,020 community submitted regex patterns...
0
@var annotation regexp
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Initial regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Filter for Twitter Posts
Python
To remove @recipient and other funny characters
Submitted by
anonymous
-
5 years ago
0
BEM
ECMAScript (JavaScript)
A variety of BEM flavoured regex.
Submitted by
anonymous
-
5 years ago
0
Leis, artigos e parágrafos
Python
no description available
Submitted by
anonymous
-
5 years ago
0
IPv4 - Single Octet
PCRE (PHP <7.3)
Matches a string of digits between 0 and 255.
Submitted by
anonymous
-
5 years ago
0
IPv4 - v2
PCRE (PHP <7.3)
Matches a string of digits between 0 and 255.
Submitted by
anonymous
-
5 years ago
0
文本分段(根据标点符号)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Air traveler document SSR
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Air traveler document SSR
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
path pattern with 10 versions
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
GenerateHashValue
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Extract parent domain from DNS FQDN
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
URL Teardown
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
AppDelivery URL Teardown v1
PCRE (PHP <7.3)
Tears down a publishing URL that conforms to the Midland/PNC Application Delivery Publishing URL specification.
Submitted by
anonymous
-
5 years ago
0
US Phone Number
PCRE (PHP <7.3)
Enhanced US Phone Number to reduce false positives.
Submitted by
anonymous
-
5 years ago
0
Min
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
US Phone Number
PCRE (PHP <7.3)
Phone Number from the USA and similar countries using the a single-digit country code (optionally).
Submitted by
Timothy Stam
-
5 years ago
0
transform regex
Golang
vault sync
Submitted by
anonymous
-
5 years ago
0
Token Key/Value
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
...
213
214
215
216
217
...
901
Community Library Entry
0
Regular Expression
Python
r'''
\b
[
\(
|
\[
]
?
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
1
[
0
-
9
]
[
0
-
9
]
|
[
1
-
9
]
?
[
0
-
9
]
)
\.
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
1
[
0
-
9
]
[
0
-
9
]
|
[
1
-
9
]
?
[
0
-
9
]
)
\.
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
1
[
0
-
9
]
[
0
-
9
]
|
[
1
-
9
]
?
[
0
-
9
]
)
\.
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
1
[
0
-
9
]
[
0
-
9
]
|
[
1
-
9
]
?
[
0
-
9
]
)
[
\]
|
\)
]
?
\b
'''
x
Open regex in editor
Description
Search and Match an IP address in a string that may have either () or [] as boundaries.
Submitted by
anonymous
-
5 years ago