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 14,980 community submitted regex patterns...
0
Find a Percentage number in some text
PCRE2 (PHP >=7.3)
Finds a percentage number or a number TO number in some text.
Submitted by
anonymous
-
a year ago
0
Git message with Changelog trailer
PCRE2 (PHP >=7.3)
Check if the git message has a Changelog trailer following the keepachangelog standard.
Submitted by
anonymous
-
a year ago
0
Only numbers and length under 10
ECMAScript (JavaScript)
Only numbers and length under 10
Submitted by
anonymous
-
a year ago
0
Only numbers and length 9
ECMAScript (JavaScript)
Only numbers and length 9
Submitted by
anonymous
-
a year ago
0
Checking if it's an hubspot url
ECMAScript (JavaScript)
This Regex checks if it's a valid hubspot domain
Submitted by
anonymous
-
a year ago
0
DLP Control Regex | Credit Card & SSN
PCRE2 (PHP >=7.3)
Regex code that can be used to group for credit card and social security number.
Submitted by
Abdullah Dalgic
-
a year ago
(Last modified a year ago)
0
interpretazione causale bonifico
PCRE2 (PHP >=7.3)
interpretazione causale bonifico
Submitted by
anonymous
-
a year ago
0
Match PWSID
PCRE2 (PHP >=7.3)
Match PWSID
Submitted by
Matt Horrell
-
a year ago
0
Find validation name and name inside parentheses
ECMAScript (JavaScript)
Find validation name and name inside parentheses
Submitted by
nghilq
-
a year ago
0
Find Japanese
ECMAScript (JavaScript)
Find Japanese
Submitted by
nghilq
-
a year ago
0
Decimal upto 5 places
PCRE2 (PHP >=7.3)
select only number with or without decimal place and limit decimal places to 5 decimals
Submitted by
YJ
-
a year ago
0
test
PCRE2 (PHP >=7.3)
address\s\d+\srange\s(?\S+)\s*(?\S+)
Submitted by
anonymous
-
a year ago
0
Scryfall - Cards with ability counters
PCRE2 (PHP >=7.3)
Find all cards with keyword ability counters in their oracle text.
Submitted by
anonymous
-
a year ago
0
Comma Separated Email Regex
PCRE2 (PHP >=7.3)
Comma Separated Email Regex
Submitted by
Kahnu
-
a year ago
0
Lookahead/lookbehind DoB
PCRE2 (PHP >=7.3)
DoB with Lookahead and Look behind
Submitted by
Arif
-
a year ago
0
Email
ECMAScript (JavaScript)
Email
Submitted by
anonymous
-
a year ago
0
匹配css变量
PCRE2 (PHP >=7.3)
匹配css变量
Submitted by
artiely
-
a year ago
0
匹配css变量括号里的值
PCRE2 (PHP >=7.3)
匹配css变量括号里的值
Submitted by
artiely
-
a year ago
0
Match substring of two matches in either order
PCRE2 (PHP >=7.3)
When you have a block of text and you want to find the shortest substring with one of two matches on either end, in either order.
Submitted by
Chris Barth <chrisjbarth@hotmail.com>
-
a year ago
0
匹配两个不连续的::
PCRE2 (PHP >=7.3)
van:not(:hover) var::before
Submitted by
artiely
-
a year ago
1
...
719
720
721
722
723
...
749
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)