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 12,000 community submitted regex patterns...
1
C++ operator overload
PCRE (PHP <7.3)
"Lazy" operator overload regular expression: += and likes are left out because + and like matches anyway.
Submitted by
Guba Dániel Olivér
-
9 years ago
1
Find exact domain name match
PCRE (PHP <7.3)
Find exact domain name match in pipe delimeted string
Submitted by
anonymous
-
9 years ago
1
Two Line Element (TLE) validation
PCRE (PHP <7.3)
no description available
Submitted by
Michael Lodge-Paolini
-
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
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
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
...
557
558
559
560
561
...
600
Search "smarty" tags
1
Regular Expression
PCRE (PHP <7.3)
/
{
\$
(
\w
+
|
\w
+
\|
\w
+
)
}
/
g
Open regex in editor
Description
Example:
<title>Home page | {$site_name|to_small}</title> <base href="{$_template_root}">
Submitted by
Marek Ulwański
-
9 years ago