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,100 community submitted regex patterns...
0
Line match
ECMAScript (JavaScript)
Regex to match any no of lines
Submitted by
noby nirmal
-
8 years ago
0
date dd.mm.yyyy
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Test N°1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Number with optional decimal part
ECMAScript (JavaScript)
This regex checks for numbers with optional decimal part.
Submitted by
Pratik Sanyal
-
8 years ago
0
Number Ranges
ECMAScript (JavaScript)
Select number ranges dynamically
Submitted by
@yosefh
-
8 years ago
0
Phone Number
ECMAScript (JavaScript)
For phone numbers with country code(Optional)followed by 10 digit phone number.
Submitted by
Kshama
-
8 years ago
0
RegEx strings used to get latitude and longitude are :- data-longitud
PCRE (PHP <7.3)
RegEx strings used to get latitude and longitude are :- data-longitude="(*) data-latitude="(*)
Submitted by
grtr
-
8 years ago
0
[ ] delimiter matching
PCRE (PHP <7.3)
af
Submitted by
me
-
8 years ago
0
Find Whole CaMeL Words
PCRE (PHP <7.3)
The PCRE (or any regex flavor supporting word boundaries, Unicode properties and lookaheads) \b(?!\p{Lu}+\b)(?=\p{L}\p{Ll})(?=\p{L}\p{Lu})(?!\p{Lu}\p{Ll}*\b)\p{L}+\b regex finds CaMeL words that: Have at least 1 lowercase letter Have at least 1 uppercase letter Do not follow the X, XXX or Xxxx p...
Submitted by
Wiktor Stribiżew
-
8 years ago
0
Equidé
PCRE (PHP <7.3)
no description available
Submitted by
Carl
-
8 years ago
0
Simple 'Good Enough' Javascript Regex (ASCII Only)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
phone number spain
PCRE (PHP <7.3)
^(0034|\+34)?(\d\d\d)-? ?(\d\d)-? ?(\d)-? ?(\d)-? ?(\d\d)$
Submitted by
elPatxificador
-
8 years ago
0
Location Hours String
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
email-address
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
http://filehippo.com/download_adobe_air/history
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
IP Address Capture
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
My phone number
PCRE (PHP <7.3)
13564148140
Submitted by
Stan
-
8 years ago
0
REGEX REVERSE
ECMAScript (JavaScript)
REGEX REVERSE
Submitted by
ljarray
-
8 years ago
0
dash then anything
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Remove all special chars from string
PCRE (PHP <7.3)
Remove all special chars from string
Submitted by
binary_fm
-
8 years ago
1
...
299
300
301
302
303
...
755
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