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,420 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
get img src from html
Python
match the src attribute of the html img tag
Submitted by
anonymous
-
5 years ago
2019-03-29 05: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
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Test string contains Instapage URLs
ECMAScript (JavaScript)
Purpose List of Instapage URLs for testing against Todo Add www urls
Submitted by
anonymous
-
5 years ago
2019-04-02 16:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
is absolute url
ECMAScript (JavaScript)
found in https://stackoverflow.com/a/14720951/10715454 check string for absolute url (with domain and such) true example.com...
Submitted by
https://stackoverflow.com/users/114251/arun-p-johny
-
5 years ago
2019-04-02 16:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
release stuff
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-04-03 14:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
tld
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-04-03 21:28
1
...
738
739
740
741
742
743
744
...
871
Get File name (no ext) from pathname
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
[^
\\
]
*
(?=
[
.
]
[
a
-
zA
-
Z
]
+
$
)
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
4 years ago
2020-03-02 00:54