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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 11,720 community submitted regex patterns...
0
EAN-13 nummer
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
match page from url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Registration Group
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
scst.conf parser - TargetDriver
PCRE (PHP <7.3)
Parse a portion of the SCST conf file. This separates the TARGET_DRIVER into a named 'target_driver' and 'target_content'
Submitted by
anonymous
-
4 years ago
0
scst.conf parser - TARGET_CONTENT splitter
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
scst.conf parser - Target attribute splitter
Python
no description available
Submitted by
anonymous
-
4 years ago
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
-
4 years ago
0
DEL1tokenENDDEL1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
rs-reg
PCRE (PHP <7.3)
personal patterns
Submitted by
anonymous
-
4 years ago
0
UK Postcode
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 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
-
4 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
-
4 years ago
0
Quantity/unit breakdown for WHMCS
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 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
-
4 years ago
0
Arabic letters (حروف عربية)
PCRE (PHP <7.3)
accept Arabic letters with spaces
Submitted by
anonymous
-
4 years ago
0
Automaton on p.996 of Cormen
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
(ObjectDatabase|GSRoot)Test\.exe
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Req1;Req2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Tree Sitter Scope Selector
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 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
-
4 years ago
1
...
467
468
469
470
471
...
586
url
2
Regular Expression
PCRE (PHP <7.3)
/
(
(
http
|
https
)
(
\:\/\/
)
(
(
(
[
a
-
zA
-
Z_
\-
0
-
9
]
{1,2000}
)
(
\.
)
(
[
a
-
zA
-
Z_
\-
0
-
9
]
{1,2000}
)
(
\.
)
(
[
a
-
zA
-
Z_
\-
0
-
9
]
{1,16}
)
)
|
(
(
[
a
-
zA
-
Z_
\-
0
-
9
]
{1,2000}
)
(
\.
)
(
[
a
-
zA
-
Z_
\-
0
-
9
]
{1,16}
)
)
)
(
(
(
[
\/
a
-
zA
-
Z
\
_
\-
%0
-
9
\.\?\=
]
{1,3000}
)
|
(
\/
)
|
(
)
)
)
)
/
Open regex in editor
Description
took me way to long
Submitted by
timmyRS
-
8 years ago