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...
1
urls ending with
ECMAScript (JavaScript)
Urls ending with a specific domain
Submitted by
anonymous
-
10 years ago
1
JS Regex to get full filename from url.
PCRE (PHP <7.3)
JS Regex to get full filename from url even if the filename contains "-".
Submitted by
Vivek Shah
-
10 years ago
1
extract file name from URL
PCRE (PHP <7.3)
extract file name from URL
Submitted by
m4r35
-
10 years ago
1
URL Path Validation
PCRE (PHP <7.3)
Validates an url path that must begin with '/' and not contain special characters or repeated '/' [forward slashes]
Submitted by
rochmit10
-
10 years ago
1
URL Parameters & Values
ECMAScript (JavaScript)
Returns matches of parameter and value separately from a URL. Ignores anything after a #.
Submitted by
Ross Tracy
-
10 years ago
1
url extractor
PCRE (PHP <7.3)
Will extract URLs from text string if they have a space or line ending at the end and are not wrapped inside a string delimiter
Submitted by
pip
-
10 years ago
1
YouTube URL ID matcher
ECMAScript (JavaScript)
Created for replacing everything except video ID from YouTube URL
Submitted by
kamilius
-
10 years ago
1
URL Regex
PCRE (PHP <7.3)
An advanced URL regex for http(s) and ftp.
Submitted by
Matthias Weiß
-
10 years ago
1
url tokenizer
PCRE (PHP <7.3)
break down a url to it's components
Submitted by
johnrcui
-
10 years ago
1
Isolate URL in Iframe
ECMAScript (JavaScript)
Will select everything between the double quotes in an Iframe's src tag. Useful for retrieving/replacing the URL.
Submitted by
anonymous
-
10 years ago
1
url
ECMAScript (JavaScript)
url
Submitted by
anonymous
-
10 years ago
1
Simple URL Regex
PCRE (PHP <7.3)
Regex for http/https/ftp or only domain url Examples: https://example.domain/page?=78 http://example.domain/page?=78 ftp://192.168.0.1:80...
Submitted by
Adrien H
-
9 years ago
1
Remove HIT Url package Info from Screen Print log
PCRE (PHP <7.3)
Screen print during an apt-update and install will generate a lot of data we don't need. This regex is used in your text editor to remove the HIT Url package information.
Submitted by
anonymous
-
9 years ago
1
Basic URL
ECMAScript (JavaScript)
Matches basic URLs and fails on things that aren't
Submitted by
anonymous
-
9 years ago
1
VK Video url check and get ID
PCRE (PHP <7.3)
$match[0] - full url $match[1] - just id
Submitted by
Denis Efremov
-
9 years ago
1
YouTube video url and ID
PCRE (PHP <7.3)
$match[0] - full url $match[1] - ID only
Submitted by
Denis Efremov
-
9 years ago
1
file name in url
PCRE (PHP <7.3)
get the file name of an image url
Submitted by
Alex
-
9 years ago
1
domain/url
Python
Finda a domain or a url, with ot without a port in a string. Includes http and https
Submitted by
Shmuel Blitz
-
9 years ago
1
Cyrillic URLs
Python
Matches domain name of URL, supports standart and Cyrillic IDN URLs
Submitted by
MrYodda
-
9 years ago
1
URL Validation
PCRE (PHP <7.3)
Simple URL Validation
Submitted by
anonymous
-
9 years ago
1
...
7
8
9
10
11
...
51