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
NIgerian Phone Numbers RegEx Validation
PCRE2 (PHP >=7.3)
This RegEx validates whether a number is in the standard valid Nigerian mobile number format or not.
Submitted by
funmitoblessed
-
2 years ago
0
SUPPL REGEX
Java 8
Regex to get only information in the SUPPL subdirectory
Submitted by
O'Connor
-
2 years ago
(Last modified 2 years ago)
0
URL Pattern Django
Python
URL Pattern Django
Submitted by
Fernando Olivera
-
2 years ago
0
LC - Athento
Python
Expresion regular para extraer informacion desde el titulo de un documento
Submitted by
Fernando Olivera
-
2 years ago
0
primera expresion SA CV
PCRE2 (PHP >=7.3)
.SA.CV
Submitted by
roberto fernandez
-
2 years ago
0
Inclusions
PCRE2 (PHP >=7.3)
m
Submitted by
anonymous
-
2 years ago
0
Date with leap years
PCRE2 (PHP >=7.3)
Accepting every date between 2010 to 2050. Format is YYYY-MM-DD hh:mm
Submitted by
Sten
-
2 years ago
0
Innovative
PCRE2 (PHP >=7.3)
Parts
Submitted by
anonymous
-
2 years ago
0
Telegram messages url
PCRE2 (PHP >=7.3)
to match telegram messages url
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Get digits
Golang
Trying to get digits
Submitted by
Arthur Silva
-
2 years ago
0
gsap current price
ECMAScript (JavaScript)
Getting google shopping current pricees
Submitted by
anonymous
-
2 years ago
0
Suriname phone number
PCRE2 (PHP >=7.3)
So the regular expression ensures that the phone number starts with "+597", followed by either a 7 or 8, and then six more digits. This will match all three phone numbers you provided as examples.
Submitted by
Kenny
-
2 years ago
0
langchain
Python
langchain
Submitted by
anonymous
-
2 years ago
0
Jira images
PCRE2 (PHP >=7.3)
It finds images in Jira markup
Submitted by
anonymous
-
2 years ago
0
Amadeus TST Match
PCRE2 (PHP >=7.3)
Analyzes Amadeus TST element
Submitted by
anonymous
-
2 years ago
0
Find anything between comillas.
PCRE2 (PHP >=7.3)
This regex gets anything between double quotes.
Submitted by
Tomas Giordano
-
2 years ago
0
Trimmed (no unicode space separators at start or end of string
ECMAScript (JavaScript)
Disallows all space-like characters -- see https://www.fileformat.info/info/unicode/category/Zs/list.htm -- at the start or end of the string
Submitted by
anonymous
-
2 years ago
0
Cloudfront.net
PCRE2 (PHP >=7.3)
This syntax I've used to block some Indonesian gambling site that using cloudflare services to hide their real IP address. "Use at your own risk"
Submitted by
anonymous
-
2 years ago
0
valid path
PCRE2 (PHP >=7.3)
valid path
Submitted by
anonymous
-
2 years ago
0
SnackVideo and Others Social Media
PCRE2 (PHP >=7.3)
This syntax I've used to block SnackVideo and others social media (Helo, Likee, Smule, etc) that use google services on their site. Currently tested on Adguard Home.
Submitted by
devinaws
-
2 years ago
1
...
889
890
891
892
893
...
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)