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...
0
finding CAS in german Wiki JSON Salpetersäure
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
check notion exported markdown: is empty page with links to another markdowns only
PCRE (PHP <7.3)
check notion exported markdown: is empty page with links to another markdowns only
Submitted by
anonymous
-
5 years ago
0
recupere les nombres apres "page/"
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
exemplo aula
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
DOI
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Credit Card Match
PCRE (PHP <7.3)
Global match all credit cards like numbers (obviously no luhn check). Updated for 2020
Submitted by
anonymous
-
5 years ago
0
PHP Regex to Match Any Flipkart Url
PCRE (PHP <7.3)
Since flipkart.com takes https://www. only or starts directly with flipkart.com. this is a regex to match any flipkart url
Submitted by
anonymous
-
5 years ago
0
Tree Sitter Scope Selector
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Macys
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
Req1;Req2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Finding Cas number in ENG Wiki page JSON format 4-Aminophenol
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
(ObjectDatabase|GSRoot)Test\.exe
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Indian mobile/landline numbers regex with +91 support
ECMAScript (JavaScript)
Indian mobile/landline numbers regex with +91 support
Submitted by
anonymous
-
5 years ago
0
Indian mobile/landline numbers regex with optional +91 support
ECMAScript (JavaScript)
Indian mobile/landline numbers regex with optional +91 support
Submitted by
anonymous
-
5 years ago
0
Automaton on p.996 of Cormen
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Arabic letters (حروف عربية)
PCRE (PHP <7.3)
accept Arabic letters with spaces
Submitted by
anonymous
-
5 years ago
0
Using a positive lookbehind
PCRE (PHP <7.3)
From this StackOverflow question: https://stackoverflow.com/questions/60179989/how-to-match-only-first-occurrence-of-string-between-strings-using-regex
Submitted by
anonymous
-
5 years ago
0
Quantity/unit breakdown for WHMCS
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
Capture digits and extension of North American phone number (North American Numbering Plan)
PCRE (PHP <7.3)
strips Country Code 1 &/or token **strips separators **strips separators **strips extra digits in vanity phone numbers strips extension delimiter ${ext} or ${4} captures n-digit extension
Submitted by
anonymous
-
5 years ago
0
Parse URL by subcomponent
PCRE (PHP <7.3)
This regular expression parses URLs and captures their subcomponents. It ignores port numbers. Port numbers are necessary. But, they are rarely visible in URLs. When used in a URL, it comes after the TLD separated by a colon. When using HTTP, port 80 is standard. For HTTPS, use port 443.
Submitted by
Syd Salmon
-
5 years ago
1
...
350
351
352
353
354
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
[
"'
]
?
)
\$
?
-
?
(
[
0
-
9
]
{1,3}
,
(
[
0
-
9
]
{3}
,
)*
[
0
-
9
]
{3}
|
[
0
-
9
]
{1,3}
)
(
\.
[
0
-
9
]
[
0
-
9
]
{0,2}
)?
\1
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago