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
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
1
URL matching
ECMAScript (JavaScript)
no description available
Submitted by
San
-
10 years ago
1
url 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Extract port from URL
PCRE (PHP <7.3)
Extracts the port from different possible forms of URL
Submitted by
anonymous
-
10 years ago
1
soundcloud url
PCRE (PHP <7.3)
soundcloud url in a link
Submitted by
ogerly
-
10 years ago
1
soundclouds url in <a>
ECMAScript (JavaScript)
soundclouds url in
Submitted by
ogerly
-
10 years ago
1
extract video id from youtube url
PCRE (PHP <7.3)
no description available
Submitted by
egg-
-
10 years ago
1
URL supporting ports, GET params and js routing
PCRE (PHP <7.3)
(http(s)?:\/\/) // http:// or https:// (([a-zA-Z0-9_\-])+(\.([a-zA-Z0-9_\-])+)+(:[1-9]+[0]*)?)(\/?| // basic url f.e. www.wp.pl with obligatory / at end ...
Submitted by
Rafał Rowiński
-
10 years ago
1
URL validator with tests
PCRE (PHP <7.3)
inspired by https://mathiasbynens.be/demo/url-regex and the pattern from @imme_emosol
Submitted by
Elmervc
-
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
1
Domain
ECMAScript (JavaScript)
Will return domain portion of a url: Example: http://www.jkrowlings.com/books Returns: www.jkrowlings.com
Submitted by
Scott Burrows
-
10 years ago
1
URL detector
PCRE (PHP <7.3)
no description available
Submitted by
pawel
-
10 years ago
1
Get a xls file from URL
PCRE (PHP <7.3)
no description available
Submitted by
Huan
-
10 years ago
1
HTTP => HTTPS
PCRE (PHP <7.3)
Force all URLs to HTTPS.
Submitted by
WhatIsHeDoing
-
10 years ago
1
url validation
PCRE (PHP <7.3)
matches http/https/www or without, also validates encoded
Submitted by
_sss_
-
10 years ago
1
Capture YouTube Video ID
PCRE (PHP <7.3)
get video id from any version of youtube url
Submitted by
Kevin Chappell
-
10 years ago
-2
Remove updir tokens from url
PCRE (PHP <7.3)
Remove /../ recursively from urls
Submitted by
santiagoarizti@gmail.com
-
10 years ago
1
Bai 2
PCRE (PHP <7.3)
Phát hiện link website lạ trong trang web của mình. – Đầu vào: https://ok1.url.com http://ok2.url.com https://not.ok.temp.com http://not-ok.either.w3.com...
Submitted by
Nhat Hoang
-
10 years ago
1
Extract url from code braces
ECMAScript (JavaScript)
Extract a url from as string
Submitted by
anistark
-
10 years ago
1
...
8
9
10
11
12
...
51