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...
1
kim_emails
PCRE (PHP <7.3)
Regexp for simple emails
Submitted by
Vladislav Kim
-
3 years ago
1
Minify JSON while protecting string value whitespace
PCRE2 (PHP >=7.3)
I use it so that I don't need to worry about formatting when working with unit tests in Kotlin, which means I don't worry too much about whether this is production quality, but it could be useful in other situations where the desire is to strip whitespace from a JSON object while protecting the valu...
Submitted by
anonymous
-
3 years ago
3
example
PCRE2 (PHP >=7.3)
example
Submitted by
anonymous
-
3 years ago
1
Asset Market
PCRE2 (PHP >=7.3)
Asset market/exchange tests
Submitted by
anonymous
-
3 years ago
0
The words between two substring
PCRE2 (PHP >=7.3)
The words between two substring
Submitted by
Sandro Conte
-
3 years ago
1
List of regex for spell replacing
PCRE2 (PHP >=7.3)
Nothing interesting
Submitted by
Luke
-
3 years ago
1
Append _if to archive.org's links
PCRE2 (PHP >=7.3)
A regex to remove the iframe from archive.org in archived sites' links.
Submitted by
anonymous
-
3 years ago
1
Match Literal Text Example
ECMAScript (JavaScript)
Regular Expressions Cookbook 2.1 Match Literal Text Example
Submitted by
hong
-
3 years ago
4
Email
PCRE2 (PHP >=7.3)
email format control
Submitted by
ahmetbarut
-
3 years ago
1
Test end
Python
Test end
Submitted by
anonymous
-
3 years ago
1
hdfilmcehennemi ana filmler
PCRE2 (PHP >=7.3)
nothing
Submitted by
no one
-
3 years ago
1
Validate Float
PCRE2 (PHP >=7.3)
Non scientific float numbers validator
Submitted by
Tanmay Chakrabarty - cse.tanmay@gmail.com
-
3 years ago
1
Expressão Regular para Telefone Fixo com ou sem mascara
PCRE (PHP <7.3)
Expressão Regular para Telefone Fixo com ou sem mascara
Submitted by
Luis Nt
-
3 years ago
1
Check special character except alpha_num
PCRE2 (PHP >=7.3)
Check special character except alpha_num
Submitted by
anonymous
-
3 years ago
1
phone
Python
This regex is decision phone number
Submitted by
anonymous
-
3 years ago
1
Match the start of a link.
PCRE2 (PHP >=7.3)
https:// http:// https://\/\/ https:\/\/\/\/\/\ https://\/\/ ...
Submitted by
anonymous
-
3 years ago
2
Regex for complex number
ECMAScript (JavaScript)
it can detect complex number of both cartesian and Euler form.the real number in the real and imaginary part can be signed or unsigned.also it may or may not have floating Point.no problem. But,in Euler from the imaginary part should be written between brackets.here are some example:- +5.6+7i,-.004...
Submitted by
Adnan nabib
-
3 years ago
2
Regex for real number
ECMAScript (JavaScript)
this regex can detect any real number whether it is signed or unsigned.plus it can detect real number both with and without floating point aka '.'.the numbers should be decimal number
Submitted by
Adnan nabib
-
3 years ago
1
find img without alt
PCRE2 (PHP >=7.3)
okok
Submitted by
anonymous
-
3 years ago
1
nginx - all subdomain except "api, panel and ..."
PCRE2 (PHP >=7.3)
is used for nginx nameserver regex. pass all except some subdomains.
Submitted by
Mahdad
-
3 years ago
1
...
208
209
210
211
212
...
901
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
(
\n
|
\s
)
(?:
(?:
\+
?
(
\d
{1}
|
\d
{2}
|
\d
{3}
)
\s
*
)
\s
*
(?:
\(
\s
*
(
\d
{1}
|
\d
{2}
|
\d
{3}
)
\s
*
\)
|
(
\d
{1,3}
)
)
\s
*
\-
?
(?:
\(
\s
*
(
\d
{1,3}
)
\s
*
\)
|
(
\d
{3}
)
)
\s
*
\-
?
(?:
\d
{2}
\s
*
\-
?
\d
{2}
)
)
/
gm
Open regex in editor
Description
My own regex for telephone number for my task
Submitted by
anonymous
-
6 years ago