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
Check if contains No Chinese
PCRE (PHP <7.3)
Check if string contains No Chinese characters: http://www.cirrhosismedication.com http://www.pmsecret.com http://premiumpig.com http://happinesspig.com...
Submitted by
anonymous
-
6 years ago
0
remove video sizes
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
BAD: Last-Name-Pattern
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Python Package Metadata Extraction
Python
Regex string that can pull package metadata from python file when its stored in this method: mymeta = 'some meta string'
Submitted by
anonymous
-
6 years ago
0
larry - first try removing all closing tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
larry - second send, fixes problem
PCRE (PHP <7.3)
ignores the closing tags and only fixes the opening tags
Submitted by
anonymous
-
6 years ago
0
Matches all words + hyphenated-words, words with full-stops, ignoring commas.
PCRE (PHP <7.3)
This will match all words. Including: Hyphenated words. Words ending in periods/full-stops. Number sequences....
Submitted by
anonymous
-
6 years ago
0
Omni word catcher.
PCRE (PHP <7.3)
Matches any word in any language. e.g. Montréal Hyphenated words count as one word. e.g. dinner-time Matches words with apostrophes . e.g. L'amour
Submitted by
anonymous
-
6 years ago
0
SSMS Parameter Extraction
PCRE (PHP <7.3)
no description available
Submitted by
andrea-dellepiane
-
6 years ago
0
lfd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
BAD: Mail-Validierung
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
p2const
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
4x4 matrix
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
xml tag pair detector (no attributes)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Google Tag Manager match non built-in events
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Mainland China Mobile Phone Numbers
ECMAScript (JavaScript)
Matches all assigned mobile phone number blocks in Mainland China. Including CMCC, CHN-UNICOM, CHN-TELECOM, and various MVNOs.
Submitted by
anonymous
-
6 years ago
0
Simplified Mainland China Mobile Phone Number
ECMAScript (JavaScript)
Simplified version for validating Mainland China Mobile Phone Numbers.
Submitted by
anonymous
-
6 years ago
0
FileName and Path name
PCRE (PHP <7.3)
Checks for existence of particular file name extension or path structure
Submitted by
Gundlupet Sreenidhi
-
6 years ago
0
Vendor extraction from sender domain
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Match time in mm:ss, or hh:mm:ss if `hh > 00`
ECMAScript (JavaScript)
Matches time strings formatted as mm:ss or hh:mm:ss under the following conditions: mm:ss**: only if mm and ss are less than 60 hh:mm:ss**: the above condition applies, but it selects hours only if hh is greater than 00
Submitted by
Liddack
-
6 years ago
1
...
164
165
166
167
168
...
901
Community Library Entry
0
Regular Expression
Python
r"
^
(
(
^
|
(?<!
^
)
\\
.
)
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
){4}
(
/
(
3
[
0
-
2
]
|
2
[
0
-
9
]
|
1
[
0
-
9
]
|
[
1
-
9
]
)
)
$
"
Open regex in editor
Description
Grabs an IPv4 address, and if it has a CIDR slash notation, then grab that too.
Submitted by
dboyd42
-
3 years ago
(Last modified a year ago)