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,020 community submitted regex patterns...
0
Fix Spanish Quote Marks
Python
Adds a ¿, for ¡ replace the last ? for !
Submitted by
paconaranjo
-
10 years ago
1
trGet
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
CHEQROOM QR Code detection
PCRE (PHP <7.3)
Checking for valid CHEQROOM QR Codes
Submitted by
Vincent Theeten
-
10 years ago
-1
Match inside square brackets without brackets
PCRE (PHP <7.3)
no description available
Submitted by
DanSkeel
-
10 years ago
-2
indonesian p0rn word filter
PCRE (PHP <7.3)
find and replace bad and p0rn indonesian words
Submitted by
teknokoplak
-
10 years ago
1
Why is this not matching the closest <A tag?
PCRE (PHP <7.3)
no description available
Submitted by
Daz
-
10 years ago
-2
Find multiple XML documents in file
PCRE (PHP <7.3)
as title says
Submitted by
Doro
-
10 years ago
-2
Regex to select text withing square brackets.
ECMAScript (JavaScript)
no description available
Submitted by
Dhrubajyoti Gogoi
-
11 years ago
0
Date Validator Regular Expression
PCRE (PHP <7.3)
Perfect Date validator from 1900-01-01 to 2013-12-31, all with leap years and perfect dates.
Submitted by
Punit Pal
-
11 years ago
1
ticket regexp
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
2
trim string
ECMAScript (JavaScript)
trim leading and trailing whitespace from a string
Submitted by
Dave Atchley
-
11 years ago
0
Matching values between square brackets
PCRE (PHP <7.3)
no description available
Submitted by
Marius Schulz
-
11 years ago
0
x
PCRE (PHP <7.3)
x
Submitted by
x
-
11 years ago
0
City and state validation
PCRE (PHP <7.3)
Validation when city and state are like in format city, state
Submitted by
Adu
-
11 years ago
1
Sentence grabber 2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
8
Sentence grabber /w extra check
PCRE (PHP <7.3)
Grabs sentences including terms like: e.g. z.b. Figs.These get caught in 1st capturing group. Problem: how to only accept matching sentences which contain pattern \b\d+[a-z]{0,2}\b?
Submitted by
light0
-
11 years ago
1
Sentence matching
PCRE (PHP <7.3)
Match sentences ignore e.g. Fig. z.b. etc
Submitted by
anonymous
-
11 years ago
1
Try ths
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
Linkedin profile matching regex
PCRE (PHP <7.3)
This a regex for matching linkedin profile URLs
Submitted by
@antespi
-
11 years ago
1
Signed integer
ECMAScript (JavaScript)
no description available
Submitted by
markus hooge
-
11 years ago
1
...
887
888
889
890
891
...
901
Community Library Entry
72
Regular Expression
Recommended
ECMAScript (JavaScript)
/
(?:
(
[
+
]
\d
{1,4}
)
[
-.
\s
]
?
)?
(?:
[
(
]
(
\d
{1,3}
)
[
)
]
[
-.
\s
]
?
)?
(
\d
{1,4}
)
[
-.
\s
]
?
(
\d
{1,4}
)
[
-.
\s
]
?
(
\d
{1,9}
)
/
g
Open regex in editor
Description
Detects most of the phone numbers all over the world
Submitted by
Aditya Joshi
-
11 years ago
(Last modified a year ago)