Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Relevance
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 1,020 community submitted regex patterns...
0
Challenge: Create regular expression that matches the following urls
PCRE (PHP <7.3)
Note the 2 lines separated urls. These should NOT match
Submitted by
kostas trichas
-
11 years ago
0
wildcard url match with url
PCRE (PHP <7.3)
no description available
Submitted by
Ahosan Karim Asik
-
11 years ago
0
URLs
PCRE (PHP <7.3)
split URL in 2 parts
Submitted by
A.L
-
11 years ago
0
deviantart scrape search results
Python
Scrape DeviantArt's search page HTMl to extract the category, the id, the user and the image url of each post.
Submitted by
nelieru
-
11 years ago
0
YouTube VideoID and ListID from URL
PCRE (PHP <7.3)
For embeding, replace with //www.youtube.com/embed/$3?list=$2$6
Submitted by
@rubenlopezgea
-
10 years ago
0
Match URL Starts with //
PCRE (PHP <7.3)
You can match the string starts with // (forward slash)
Submitted by
Sanal Menon Kalipurayath
-
10 years ago
0
Ultimate url regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
Improved RegEx101 ID Grabber
PCRE (PHP <7.3)
Grabs the ID and revision from the URL.
Submitted by
RF
-
10 years ago
0
YouTube Video ID + URL validator
PCRE (PHP <7.3)
Verifies YouTube video links AND pulls the video ID from them in a matching group. Works with all capitalizations. It also matches the WHOLE link but sorts the video ID into a group. Works with JavaScript, PHP and Python. (Not tested with any other Regex engine) ...
Submitted by
Billy Venner
-
10 years ago
0
URL validation with http/https
PCRE (PHP <7.3)
URL validation with http/https
Submitted by
Gunjan
-
10 years ago
0
Facebook url regex
PCRE (PHP <7.3)
no description available
Submitted by
Devs Devaras
-
10 years ago
0
url and path match with or without http|https
PCRE (PHP <7.3)
this is the most perfect pattern I reach for url with query or anchor
Submitted by
Gehad Mohamed
-
10 years ago
0
find non-protocolized img src
PCRE (PHP <7.3)
Useful to expand links without a protocol header with a base url src="/bla/blubb" --> src="http:/foo.com/bla/blubb"
Submitted by
fjakop
-
10 years ago
0
All Url links
PCRE (PHP <7.3)
Finds: links with or without http/s links with or without www short links
Submitted by
PonyOny
-
10 years ago
0
URL name and domain
PCRE (PHP <7.3)
Extracts the name and domain of any link, for instance https://www.google.com/?gfe_rd=cr&#q=generic+search --> google.com
Submitted by
Sergio
-
10 years ago
0
WEB URL
ECMAScript (JavaScript)
only WEB URL ex:http://aaa.com.tw https://aaa.com aaa.com aaa.com.tw
Submitted by
anonymous
-
10 years ago
0
html img tag src
ECMAScript (JavaScript)
get src url from img tag in html
Submitted by
anonymous
-
10 years ago
0
find any URI/URL with no trailing slash v2
PCRE (PHP <7.3)
updated
Submitted by
-oneglory
-
10 years ago
0
Parse out a URL for optional values
ECMAScript (JavaScript)
Tokenize a HostName for optional string values. Good for testing whether you are in np, qa, qp, or production environments.
Submitted by
Matthew Ledbetter
-
10 years ago
0
Url Parser for Alpha(Dash Numeric) Pattern
PCRE (PHP <7.3)
a-123-2134
Submitted by
Matthew Marcus
-
10 years ago
1
...
22
23
24
25
26
...
51