Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 12,780 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
cidr
PCRE (PHP <7.3)
spf cidr
Submitted by
a
-
8 years ago
2015-11-26 13:52
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Data en format dd/mm/aaaa
PCRE (PHP <7.3)
no description available
Submitted by
gcq
-
8 years ago
2015-11-26 11:51
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Duration String (dhm)
ECMAScript (JavaScript)
Duration string in dhm format. Supported Values 20d 8h 30m 20d 8h 30m...
Submitted by
nehakadam
-
8 years ago
2015-11-26 09:13
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Threema ID
PCRE (PHP <7.3)
Matches for normal Threema IDs and Gateway Threema IDs
Submitted by
rugk
-
8 years ago
2015-11-25 21:56
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Date search
PCRE (PHP <7.3)
Search for three different types of dates in spanish format
Submitted by
Agustín Bouillet
-
8 years ago
2015-11-25 20:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Find all JS objects with the name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-11-25 20:08
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
13fd
PCRE (PHP <7.3)
no description available
Submitted by
jay
-
8 years ago
2015-11-25 15:01
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
url regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-11-25 14:22
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Match text in square brackets
PCRE (PHP <7.3)
Drupal7 Media Element in node body - A regex to match the media module square bracketted token/element for embedde images in node body. Use case - using the body text trimmed in a meta description - need to remove the media element as well as strip tags.
Submitted by
iAugur
-
8 years ago
2015-11-25 14:03
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
76
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-11-25 09:00
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
adad
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-11-25 01:09
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
po box
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-11-25 00:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
OSI Key
PCRE (PHP <7.3)
no description available
Submitted by
Mike LeBlanc
-
8 years ago
2015-11-24 21:36
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
REGEX for FTs
PCRE (PHP <7.3)
Regular Expressions for functional test name
Submitted by
anonymous
-
8 years ago
2015-11-24 10:22
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
c
ECMAScript (JavaScript)
no description available
Submitted by
s
-
8 years ago
2015-11-24 09:55
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
VSO remove special symbols
ECMAScript (JavaScript)
no description available
Submitted by
Jon Henning Bergane
-
8 years ago
2015-11-24 09:21
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Übung
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-11-24 09:04
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
^[a-zA-Z_\-]+$
PCRE (PHP <7.3)
Check no space
Submitted by
anonymous
-
8 years ago
2015-11-24 08:48
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
DE PLZ/ZIP + Location
PCRE (PHP <7.3)
no description available
Submitted by
elementcode
-
8 years ago
2015-11-24 07:28
-1
1 upvotes, 2 downvotes (score 6.1%) (You must be signed in to vote)
Australian local and international mobile validation
ECMAScript (JavaScript)
no description available
Submitted by
Damien Capocchi
-
8 years ago
2015-11-24 01:02
1
...
521
522
523
524
525
526
527
...
639
Indian Phone Numbers!
1
7 upvotes, 6 downvotes (score 29.1%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(
\+
)
(?(1)
)
\d
{1,3}
?
[
-
]
?
\d
{10}
$
|
^
(
[^
0
]
)
(?(1)
)
\d
{9}
?
$
|
^
(
[
0
]
)
(?(1)
)
\d
{10}
?
$
/
Open regex in editor
Description
Loading markdown...
Submitted by
Prateek Jain
-
8 years ago
2015-06-02 15:16