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 17,260 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
simple split for email address
ECMAScript (JavaScript)
Simple match for parts of an email address to get firstname, lastname and email domain. (Does not include validity check!)
Submitted by
art-ist.cc
-
7 years ago
2016-05-20 08:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
orphaned
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-20 10:14
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match URLS http|https www|ww|www3 etc
PCRE (PHP <7.3)
match various web urls
Submitted by
ganey
-
7 years ago
2016-05-20 10:48
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Code INSEE des départements français
PCRE (PHP <7.3)
Cette expression régulière valide une chaîne de caractères représentant un code département selon le code INSEE. Voir http://www.insee.fr/fr/methodes/nomenclatures/cog/
Submitted by
anonymous
-
7 years ago
2016-05-20 12:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Dashie Save
PCRE (PHP <7.3)
TS3 REGEX NAME BLACKLIST
Submitted by
Dashie @inetpwnz
-
7 years ago
2016-05-20 13:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Extract Course Number from Member DataBase Area
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-20 13:45
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
MarketdataQuoteHandlerMessages
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-20 14:52
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
qeqe
PCRE (PHP <7.3)
qweqwe
Submitted by
qweqe
-
7 years ago
2016-05-20 16:01
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
email regex
Python
no description available
Submitted by
thegamerbr1
-
7 years ago
2016-05-20 17:31
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Repeating letters more than once
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-20 23:10
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Get Src Image Tag
PCRE (PHP <7.3)
no description available
Submitted by
Leo Pham
-
7 years ago
2016-05-21 05:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Thaana
PCRE (PHP <7.3)
Thaana detect
Submitted by
Yoosuf
-
7 years ago
2016-05-21 15:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match different types of quoted strings in Javascript
ECMAScript (JavaScript)
The regex tries to match several types of quotations trying to avoid extreme cases. Bare in mind that this was developed for a specific use and thus some of the matches might not work for you.
Submitted by
Shadi Lahham
-
7 years ago
2016-05-22 00:04
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Searching succeeding matching words
PCRE (PHP <7.3)
If you want to search succeeding words replace number in curly brace
Submitted by
tassman
-
7 years ago
2016-05-22 06:28
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Razor template for JS files
PCRE (PHP <7.3)
no description available
Submitted by
Rodrigo Stuchi
-
7 years ago
2016-05-22 07:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
email w/o query params
PCRE (PHP <7.3)
highlights emails that don't have query parameters
Submitted by
duaazahi
-
7 years ago
2016-05-22 10:03
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
LinkedIn Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-22 12:24
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
regex to find img src tags into html
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-22 21:28
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
LogTag data from Error stack
ECMAScript (JavaScript)
no description available
Submitted by
rbeer
-
7 years ago
2016-05-22 22:59
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Non greedy Quotes JS
ECMAScript (JavaScript)
Matches 4 different types of quoted text avoiding html element and element attributes. Single quotes allow for contractions withing the quotes.
Submitted by
Shadi Lahham
-
7 years ago
2016-05-23 10:26
1
...
81
82
83
84
85
86
87
...
863
OmegaT
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
^\p{Zs}
*
(
<
(?:
/
?
[
xg
]
\d
|
[
xg
]
\d
/
)
>
\p{Zs}
*
)+
\p{Zs}
*
$
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
7 months ago
2023-02-10 08:09