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
Parsing JSON Constructs
PCRE (PHP <7.3)
This regular expression searches for a matching number of '{' and '}' and captures the curly brackets and everything inside them including nested constructs. I created it because of a need to parse JSON formatted lists.
Submitted by
Zormaster
-
5 years ago
0
DEL1tokenENDDEL1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
rs-reg
PCRE (PHP <7.3)
personal patterns
Submitted by
anonymous
-
5 years ago
0
UK Postcode
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Splunk Searches 1
PCRE (PHP <7.3)
A Search that finds ERRORS and the Destination IP's associated with those ERRORS
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
0
Quantity/unit breakdown for WHMCS
PCRE (PHP <7.3)
no description available
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
Arabic letters (حروف عربية)
PCRE (PHP <7.3)
accept Arabic letters with spaces
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
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
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
(ObjectDatabase|GSRoot)Test\.exe
PCRE (PHP <7.3)
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
Macys
ECMAScript (JavaScript)
no description available
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
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
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
DOI
Python
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
1
...
269
270
271
272
273
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
(
[
0
-
9-_.,:;
+<>#´`"?!§°
\\
*()%$
\/
&=|Ø
]
{1,}
)
$
|
^
(
[
0
-
9.,k
]
{1,}
)
$
|
^
(
[
0
-
9
.,|
\-
]
{1,}
?
°C
)*
$
|
^
(
[
0
-
9
.,|
\-
"
\/
]
{1,}
?
x
?
)*
$
/
gm
Open regex in editor
Description
see
Submitted by
anonymous
-
3 years ago