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
Community Patterns
Search among 15,300 community submitted regex patterns...
1
Moneda con string v3
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
NHL
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
NHL NFL MLB
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
dot 10 check
PCRE (PHP <7.3)
test
Submitted by
anonymous
-
3 years ago
1
Kabelmax house_number splitting
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
Identifier
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
Credit card
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
First Name or Last Name
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
1
IpAddress
ECMAScript (JavaScript)
Ensure the ip address format is correct
Submitted by
aaa
-
3 years ago
1
WIN Logs aus JSON
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
phones
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
USD regex
PCRE (PHP <7.3)
Regex to match USD currency in a text
Submitted by
anonymous
-
3 years ago
1
Extract Dirty `href` Values in HTML
PCRE (PHP <7.3)
Even though using a delimiter within a string, without escaping it, is an illegal character, sometimes this still happens and we need to extract a HTML value.
Submitted by
Sean O'Mahoney
-
3 years ago
1
password with at least 1 special character
PCRE (PHP <7.3)
This regex is to describe the password which has at least 7 characters (OC) with at least a special one (SC). Of course, we know the SC may be in the first, second .... or last of the password. Also, we know the password maybe bigger than just 8. so I wrote the RE to accept any character (AC) from !...
Submitted by
EMAM1999
-
3 years ago
1
NS:Task2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
Extract domain from URL
PCRE (PHP <7.3)
'www.xakep.ru' === xakep 'http://github.com/carbonfive/raygun' === github 'https://www.cnet.com' === cnet 'xewveqmwcz90sl64.co/' === xewveqmwcz90sl64
Submitted by
anonymous
-
3 years ago
1
Valid URL RegEx
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
FIND NUMBERS IN STRING
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
Group 1 und Group 2 erkennen
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
Pesquisa palavras inicio e fim
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
...
224
225
226
227
228
...
765
Phone Number
0
Regular Expression
ECMAScript (JavaScript)
/
[
\+\(
]
{0,2}
\d
{1,4}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
[
\.\-
\s
\(\)
]
*
\d
{1}
/
g
Open regex in editor
Description
For phone numbers with country code(Optional)followed by 10 digit phone number.
Submitted by
Kshama
-
8 years ago