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 15,240 community submitted regex patterns...
1
iOS Localizable.strings parser
Python
Can be used to find all keys and values in .strings file. Matching pattern: "key" = "value";
Submitted by
Natan Zalkin
-
9 years ago
2
Parse "ipconfig /all" output and grab all MAC Adresses
PCRE (PHP <7.3)
Parse "ipconfig /all" output and grab all MAc Adresses.
Submitted by
j0inty
-
9 years ago
1
weather
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Search "smarty" tags
PCRE (PHP <7.3)
Example: Home page | {$site_name|to_small}
Submitted by
Marek Ulwański
-
9 years ago
1
Password policy filter Rev 2
ECMAScript (JavaScript)
Password must have 2 Caps, 2 Smalls, 2 Nums and No space
Submitted by
Doug Karl
-
9 years ago
1
faa
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
massive email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
URL regex without anchors
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Get specific <span> tag
PCRE (PHP <7.3)
Get an specific html tag and return his content
Submitted by
Ivan Milazzotti
-
9 years ago
1
Get specific <p> tag
PCRE (PHP <7.3)
Get an specific tag and return his content
Submitted by
Ivan Milazzotti
-
9 years ago
-2
Get HTML DIV content
PCRE (PHP <7.3)
Get the content of a DIV HTML Tag.
Submitted by
Ivan Milazzotti
-
9 years ago
1
Match numbers with consecutive digits
PCRE (PHP <7.3)
Match numbers with consecutive digits and of length 3.
Submitted by
OnlineCop
-
9 years ago
1
Israel phone number
PCRE (PHP <7.3)
Valiate israel phone number
Submitted by
boevik
-
9 years ago
0
Select Topmost HTML Tags
PCRE (PHP <7.3)
no description available
Submitted by
Guilherme C. Souza
-
9 years ago
1
Teste
PCRE (PHP <7.3)
teste
Submitted by
MeuChapeu
-
9 years ago
1
Get id number from url
PCRE (PHP <7.3)
no description available
Submitted by
Marek Ulwański
-
9 years ago
0
Match PHP define
PCRE (PHP <7.3)
Matches PHP define("CONSTANT", "VALUE)
Submitted by
xZero
-
9 years ago
1
Access Log
PCRE (PHP <7.3)
cisco
Submitted by
anonymous
-
9 years ago
0
Find li tag with "word"
PCRE (PHP <7.3)
Find li tag with "word"
Submitted by
Sazar
-
9 years ago
1
Culture File Name Extraction
PCRE (PHP <7.3)
Extracts the culture name from a javascript file. Works with minified and non minified files.
Submitted by
Lucas Martin
-
9 years ago
1
...
701
702
703
704
705
...
762
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