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 8,060 community submitted regex patterns...
0
匹配区号码、手机号码【简版】phoe|mobile
PCRE2 (PHP >=7.3)
匹配区号码、手机号码【简版】
Submitted by
1.0
-
2 years ago
0
Remove html symbols
Python
Select every string starting with & , ending with ; and everything in between
Submitted by
Smit Patel
-
2 years ago
0
Phone Number Match only + and digits
ECMAScript (JavaScript)
not match : 123-456-7890 (123) 456-7890 123 456 7890 123.456.7890...
Submitted by
Azhi
-
2 years ago
0
ID-in-C
PCRE2 (PHP >=7.3)
Identifiers in C
Submitted by
anonymous
-
2 years ago
0
DiscoveryPlus regex
PCRE2 (PHP >=7.3)
.
Submitted by
anonymous
-
2 years ago
0
subnet cidr check
Java 8
subnet cidr check example 192.168.1.0/30
Submitted by
Di
-
2 years ago
0
Ip check, shortest
PCRE2 (PHP >=7.3)
Ip check, shortest validate ip
Submitted by
Di
-
2 years ago
0
First letter of each word
ECMAScript (JavaScript)
Lowercase whole line to make it work
Submitted by
PolyFlower
-
2 years ago
0
Regex to add <p> in the beginning
PCRE2 (PHP >=7.3)
In case #3: A should be prepended to the beginning of the first paragraph.
Submitted by
anonymous
-
2 years ago
0
Regex to add <p> in the beginning
PCRE2 (PHP >=7.3)
In case #3: A should be prepended to the beginning of the first paragraph.
Submitted by
anonymous
-
2 years ago
0
ACM Code Extraction
Java 8
title
Submitted by
anonymous
-
2 years ago
0
subdomainfinder.c99.nl to seeds
PCRE2 (PHP >=7.3)
parse results from https://subdomainfinder.c99.nl/ to https-seeds.
Submitted by
anonymous
-
2 years ago
0
clean up old line breaks replacing with a closed paragraph </p>and <p>
PCRE2 (PHP >=7.3)
I want to clean up old line breaks replacing with a closed paragraph and an open paragraph . So, , or , or becomes
Submitted by
anonymous
-
2 years ago
0
the end of file paragraph should have a closing </p>
PCRE2 (PHP >=7.3)
the end of file paragraph should have a closing should be used after regex2 to remove at the end
Submitted by
anonymous
-
2 years ago
0
after the </h2> Any new paragraph should start with a <p>
PCRE2 (PHP >=7.3)
In case #2: after the Any new paragraph should start with a
Submitted by
anonymous
-
2 years ago
0
KFZ Kennzeichen Prüfung (ohne -)
ECMAScript (JavaScript)
Prüft ein deutsches Kfz-Kennzeichen auf gültigen Aufbau Source: morpheus42
Submitted by
Simon Müller
-
2 years ago
0
Task D5
PCRE2 (PHP >=7.3)
For course
Submitted by
anonymous
-
2 years ago
0
HTTP Authorization header for JWT token
ECMAScript (JavaScript)
HTTP Authorization header for JWT token
Submitted by
QNimbus
-
2 years ago
0
JWT token
ECMAScript (JavaScript)
JWT token
Submitted by
QNimbus
-
2 years ago
0
Get property name of ADB string
Python
Match the property name of an ADB string that is retrieved with adb shell dumpsys activity service com.android.car car-getpropertyconfig
Submitted by
anonymous
-
2 years ago
1
...
294
295
296
297
298
...
403
Regex for telephone numbers all over the world
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
-
10 years ago
(Last modified 6 months ago)