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 14,260 community submitted regex patterns...
1
Capture example
PCRE (PHP <7.3)
no description available
Submitted by
Darkoeur
-
8 years ago
1
MS Excel CSV
PCRE (PHP <7.3)
Parse a generated MS Excel CSV (also works with the exported format "CSV for MS Excel" from phpmyadmin)
Submitted by
fbailly_
-
8 years ago
0
Extract ClassName and Unicode fontawesome list
PCRE (PHP <7.3)
no description available
Submitted by
M.Nizam
-
8 years ago
1
Match partial classes
PCRE (PHP <7.3)
Matches partial class name delimited by whitespace, the string boundaries or a dash.
Submitted by
anonymous
-
8 years ago
1
Regex repeated group
PCRE (PHP <7.3)
regex repeated group
Submitted by
anonymous
-
8 years ago
1
pattern1
PCRE (PHP <7.3)
Patter1 - first iteration
Submitted by
Ali Momeni
-
8 years ago
1
cproSongSection span wrapper
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
OpenSSL CRT Issuer/Subject parse
PCRE (PHP <7.3)
regex to capture fields from the output of openssl x509 -in yout_crt_file.crt -issuer -noout
Submitted by
Florian Sievers
-
8 years ago
1
UK Postcode
PCRE (PHP <7.3)
as per the following specifications: FORMAT EXAMPLE AN NAA M1 1AA ANN NAA M60 1NW AAN NAA CR2 6XH...
Submitted by
Spluf (Cosmin Pop)
-
8 years ago
2
RewriteMatch into subfolder
PCRE (PHP <7.3)
RegEx for an .htaccess rewrite into a subfolder without provoking a 'too many redirects' error
Submitted by
Nils B.
-
8 years ago
1
Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Obtain src content from iframe
PCRE (PHP <7.3)
no description available
Submitted by
Cmedina
-
8 years ago
1
Find Factfinder Numeric Groups
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Extract domain name
PCRE (PHP <7.3)
extracting domain name from url
Submitted by
anonymous
-
8 years ago
1
phone
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
q
PCRE (PHP <7.3)
q
Submitted by
q
-
8 years ago
1
How to capture Pokemon
PCRE (PHP <7.3)
no description available
Submitted by
Liam
-
8 years ago
1
Firefox 47 Test
PCRE (PHP <7.3)
for Issue #517 on Regex101 Github
Submitted by
rambouillet
-
8 years ago
1
mciCardDescription
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
jquery
PCRE (PHP <7.3)
jquery
Submitted by
anonymous
-
8 years ago
1
...
526
527
528
529
530
...
713
Match PHP define
0
Regular Expression
PCRE (PHP <7.3)
/
define
+
\(
[
"'
]
(
.
*
)
[
"'
]
,
[
"'
]
(
.
*
)
[
"'
]
\)
;
/
Open regex in editor
Description
Matches PHP define("CONSTANT", "VALUE)
Submitted by
xZero
-
9 years ago