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,840 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
foo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-03-27 14:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-03-28 11:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HA template search
ECMAScript (JavaScript)
Searches for the template setting.
Submitted by
anonymous
-
5 years ago
2019-03-28 15:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex that does not match 0 but matches other values
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-03-29 03:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Separate pair of names
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-03-29 03:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Slick url parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-03-29 08:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Points fichier
PCRE (PHP <7.3)
Attrape les points dans les noms de fichiers sauf le dernier pour conserver l'extension. Ne conserve pas la double extension
Submitted by
anonymous
-
5 years ago
2019-03-30 08:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Check if url start with https
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-03-29 13:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
aufg6 final final
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-03-29 16:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Aufg1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-03-29 17:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
start and end with same vowel
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
2019-03-30 18:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MM
PCRE (PHP <7.3)
ID
Submitted by
anonymous
-
5 years ago
2019-03-30 23:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Array dectection
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-03-31 03:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Fail on 2nd Dot
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-03-31 21:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
detect potential li tags from clipboard
PCRE (PHP <7.3)
this can be used to detect what could be interpreted as from the clipboard
Submitted by
anonymous
-
5 years ago
2019-03-31 22:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
capture all li tags from a text
PCRE (PHP <7.3)
this can be used to capture all li items in a text and then wrap them in a ul tag.
Submitted by
anonymous
-
5 years ago
2019-03-31 22:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Second Occurrence
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-04-01 15:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Fetch background-image URL [100%]
PCRE (PHP <7.3)
The best background-image fetch in here I've not yet seen a website on which this RegEx don't work. If you do I'll be pleased to see it
Submitted by
anonymous
-
5 years ago
2019-04-01 21:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match everything but not certain characters
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-04-02 13:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Finding relative filepaths
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-04-02 14:25
1
...
629
630
631
632
633
634
635
...
742
Europe - Luxemburg - Email
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^\w
+
(
[
-+.'
]
\w
+
)*
@
\w
+
(
[
-.
]
\w
+
)*
\.
(?i)
lu
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
4 years ago
2020-01-31 15:06