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...
1
MAC address capturing
Python
Captures MAC addressess in any format: aa bb cc dd ee ff aa-bb-cc-dd-ee-ff aa:bb:cc:dd:ee:ff aabb.ccdd.eeff aabbccddeeff
Submitted by
Gilian
-
9 years ago
1
file name without extension
PCRE (PHP <7.3)
no description available
Submitted by
sl
-
9 years ago
1
Brazilian Phone number
ECMAScript (JavaScript)
With optional 9 digit
Submitted by
Matheus Gambati
-
9 years ago
1
Isolate string in double or single quotes
PCRE (PHP <7.3)
Isolate strings inside double or single quotes
Submitted by
garsax
-
9 years ago
1
10-digit phone number with hyphens
PCRE (PHP <7.3)
Such as 333-333-1234. Does not test for valid sequences of digits. E.g. 000-000-0000 would pass.
Submitted by
anonymous
-
9 years ago
1
Tag Text
Python
Match text between html tags
Submitted by
Si
-
9 years ago
1
URL does not start with correct name
PCRE (PHP <7.3)
APPFW BLock URL
Submitted by
anonymous
-
9 years ago
1
Find multiline links a HTML tag
Python
Find multiline links a HTML tag
Submitted by
CyberLight
-
9 years ago
1
find file name with file extension
PCRE (PHP <7.3)
find file name with file extension
Submitted by
rainyseason
-
9 years ago
1
Find untranslated strings, angular
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Decimal Numbers (+/-)
PCRE (PHP <7.3)
no description available
Submitted by
Zain
-
9 years ago
1
regular expression to match word starting with space
Python
no description available
Submitted by
anonymous
-
9 years ago
1
allow only alpabets digits and special characters
ECMAScript (JavaScript)
allow only alpabets digits and special characters
Submitted by
anonymous
-
9 years ago
1
numbers between 200 and 3000
PCRE (PHP <7.3)
no description available
Submitted by
Bino
-
9 years ago
1
Top Level Domain (TLD)
PCRE (PHP <7.3)
Select TLD (.com, .fr ...) from url or domain
Submitted by
Etienne
-
9 years ago
1
US and Mexico Phone Numbers with Extensions
PCRE (PHP <7.3)
no description available
Submitted by
Katrina
-
9 years ago
1
Replace Czech accents, Part 1
Python
The result of this put as input into part 2.
Submitted by
Premysl Karbula
-
9 years ago
1
html
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
url
Python
no description available
Submitted by
oniro
-
9 years ago
1
Space replacement
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
63
64
65
66
67
...
902
Community Library Entry
0
Regular Expression
Python
r"
(
(
\+
\d
{2}
)?
\s
*
\d
{4}
\s
*
\d
{6}
\b
)
"
g
Open regex in editor
Description
Finds a phone number.
Submitted by
anonymous
-
2 years ago