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 14,820 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
decoupeur de chaines selon les +-
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-06-16 09:08
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Recherche email
PCRE (PHP <7.3)
Recherche un email
Submitted by
G Morelle
-
8 years ago
2015-06-16 07:54
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
symfe - Group with exclusions
PCRE (PHP <7.3)
Select from a pattern a group without some parameters
Submitted by
symfe
-
8 years ago
2015-06-16 07:09
-3
4 upvotes, 7 downvotes (score 15.2%) (You must be signed in to vote)
RegEX for account code starting with 000-
PCRE (PHP <7.3)
no description available
Submitted by
Joe H
-
8 years ago
2015-06-15 17:55
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
XML 1.0 dateTime values
Python
dateTime type matching regex for XML 1.0
Submitted by
DervishD
-
8 years ago
2015-06-15 15:49
3
4 upvotes, 1 downvotes (score 37.6%) (You must be signed in to vote)
prices in nis
Python
no description available
Submitted by
molaxx
-
8 years ago
2015-06-15 15:16
16
101 upvotes, 85 downvotes (score 47.1%) (You must be signed in to vote)
Alphanumeric Regex
PCRE (PHP <7.3)
no description available
Submitted by
Deepan
-
8 years ago
2015-06-15 13:57
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
purge creo model
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-06-15 13:15
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
French telephone number
PCRE (PHP <7.3)
Match french telephones numbers. Allows space, dot and dash between pairs of numbers.
Submitted by
bsymon
-
8 years ago
2015-06-15 11:53
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
C++ operator overload
PCRE (PHP <7.3)
"Lazy" operator overload regular expression: += and likes are left out because + and like matches anyway.
Submitted by
Guba Dániel Olivér
-
8 years ago
2015-06-15 11:49
1
3 upvotes, 2 downvotes (score 23.1%) (You must be signed in to vote)
Find exact domain name match
PCRE (PHP <7.3)
Find exact domain name match in pipe delimeted string
Submitted by
anonymous
-
8 years ago
2015-06-15 11:49
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
End of line - SJava
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-06-14 19:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Two Line Element (TLE) validation
PCRE (PHP <7.3)
no description available
Submitted by
Michael Lodge-Paolini
-
8 years ago
2015-06-14 17:29
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
iOS Localizable.strings parser
Python
Can be used to find all keys and values in .strings file. Matching pattern: "key" = "value";
Submitted by
Natan Zalkin
-
8 years ago
2015-06-14 11:25
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Parse "ipconfig /all" output and grab all MAC Adresses
PCRE (PHP <7.3)
Parse "ipconfig /all" output and grab all MAc Adresses.
Submitted by
j0inty
-
8 years ago
2015-06-14 11:20
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
weather
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-06-14 07:29
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Search "smarty" tags
PCRE (PHP <7.3)
Example: Home page | {$site_name|to_small}
Submitted by
Marek Ulwański
-
8 years ago
2015-06-13 10:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Password policy filter Rev 2
ECMAScript (JavaScript)
Password must have 2 Caps, 2 Smalls, 2 Nums and No space
Submitted by
Doug Karl
-
8 years ago
2015-06-13 01:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
faa
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-06-12 23:07
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
massive email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-06-12 22:13
1
...
678
679
680
681
682
683
684
...
741
magic URL regex
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(?:
https
?
:
\/\/
)?
(?:
[
-
\w
_
\.
]
{2,}
\.
)?
(
[
-
\w
_
]
{2,}
\.
[
a
-
z
]
{2,4}
)
(?:
\/
\S
*
)?
/
gi
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 years ago
2015-06-07 19:52