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 11,500 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
NEW YAHOO
PCRE (PHP <7.3)
This pattern will match everything directly below your yahoo REPLACE section and non of the good cases above: ^yahoo\.com?(?:(?!\.[a-z]{2}).)*(?:.com?)?$ IE you do not want to include yahoo.fr or yahoo.com.fr or yahoo.co.uk
Submitted by
anonymous
-
6 years ago
2017-11-24 16:10
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Require string of length Ignoring HTML
PCRE (PHP <7.3)
checks for a continuous string of characters (in this case 7) , but ignores HTML tags we use it in a required feild validator that has auto generated formatting elements
Submitted by
Doom87er
-
6 years ago
2017-12-27 14:48
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
color-price-count
PCRE (PHP <7.3)
no description available
Submitted by
By me
-
6 years ago
2017-12-19 00:30
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match text inside of single/double quotes, mysql identifier tokens(`)(ignore escaped nested quotes)
PCRE (PHP <7.3)
Verbose, somewhat cryptic and very efficient pattern to match all text inside of quotes and MySQL identifier tokens.
Submitted by
Phillip Weber
-
6 years ago
2018-01-08 23:29
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Telephone numbers from Ireland
PCRE (PHP <7.3)
Validate phone numbers from Ireland
Submitted by
anonymous
-
6 years ago
2018-01-10 12:50
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Telephone numbers from Colombia
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2018-01-10 12:52
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Telephone numbers from Spain
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2018-01-10 12:53
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
teysy
PCRE (PHP <7.3)
kljljljjlkjl
Submitted by
nww
-
6 years ago
2018-01-12 10:24
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
No Tag in URL RegEx
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2018-02-09 12:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Microsoft Forward Header Matcher
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2018-03-01 08:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Quotes
PCRE (PHP <7.3)
Matches everything between '' or "", but not between quotation marks of different types. (?:\")(.?)(?:\")|(?:')(.?)(?:')
Submitted by
maffei2443
-
6 years ago
2018-02-28 14:13
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
CBC-FixFlex-CisloZmluvy
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2018-02-28 23:36
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
TeamAlert domenenavn
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2018-03-01 08:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
TeamAlert domenenavn
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2018-03-01 08:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
extractor_RD_RT_Cisco
Python
no description available
Submitted by
anonymous
-
6 years ago
2018-03-01 13:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
FireEye Sandbox IPs
PCRE (PHP <7.3)
FireEye Sandbox IPs
Submitted by
Robert Nixon
-
6 years ago
2018-03-02 16:10
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
RFC 1918 Address Space
PCRE (PHP <7.3)
no description available
Submitted by
Robert Nixon
-
6 years ago
2018-03-02 16:13
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Velocidade De Banda
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2018-03-02 20:04
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Shared folder | shared folder ip | local folder
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2018-03-05 10:08
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Very basic mail check regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2018-03-05 10:31
1
...
97
98
99
100
101
102
103
...
575
Shared folder | shared folder ip | local folder
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(
(
\\
)
(
\\
[
A
-
Za
-
z0
-
9-_
]
+
){2,}
(
\\
?
)
)
|
(
[
a
-
zA
-
Z
]
:
\\
(
\w
+
\\
)*
\w
*
)
|
(
(
(
\\\\
)
(
((
[
0
-
9
]
|
[
1
-
9
]
[
0
-
9
]
|
1
[
0
-
9
]
{2}
|
2
[
0
-
4
]
[
0
-
9
]
|
25
[
0
-
5
]
)
\.
){3}
(
[
0
-
9
]
|
[
1
-
9
]
[
0
-
9
]
|
1
[
0
-
9
]
{2}
|
2
[
0
-
4
]
[
0
-
9
]
|
25
[
0
-
5
]
)
)
)
(
(
\\
)?
)
(
\\
?
[
A
-
Za
-
z0
-
9-_
]
+
)*
(
\\
?
)
)
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
6 years ago
2018-03-05 10:08