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...
2
Ultimate URL/IP validator
ECMAScript (JavaScript)
Validates most types of URL's and IP addresses. NOTICE! remove "?" after first non-capturing group to forse check protocol.
Submitted by
anonymous
-
10 years ago
2
Url parser and validator
ECMAScript (JavaScript)
Validate an url with hostname or ip and port. Furthermore provides: the entire url the protocol the hostname/ip the port...
Submitted by
Antonino Sirchia
-
10 years ago
2
permalinks
PCRE (PHP <7.3)
skip if the url is a permalink
Submitted by
andreasonny83@gmail.com
-
10 years ago
2
Extract .mp3 url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2
pdf url link
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
2
Parse string like: "[!type|name] http://some.url/to.file"
ECMAScript (JavaScript)
http://some.url/to.file [!css|name]http://some.url/to.file [!css] http://some.url/to.file ...
Submitted by
Max Chuhryaev
-
10 years ago
2
Find url('./xxx)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2
extract hostname
PCRE (PHP <7.3)
extracts hostname from url
Submitted by
Kristine Poghosyan
-
10 years ago
2
<a href=" replacer
PCRE (PHP <7.3)
to put # instead of url
Submitted by
mrBakop
-
10 years ago
2
csv split, accounting for 'sub-csv' groups inside brackets
PCRE (PHP <7.3)
This came up as a need for splitting a url param into an array ofr stings, where such a string may be a sublist contained within a bracket pair
Submitted by
Martin Renvoize
-
10 years ago
2
Local url detection
PCRE (PHP <7.3)
Detect if an url is local (even if written in an absolute way)
Submitted by
Jean Fenouil
-
9 years ago
2
URL with Port
ECMAScript (JavaScript)
no description available
Submitted by
rkl
-
9 years ago
2
url
PCRE (PHP <7.3)
took me way to long
Submitted by
timmyRS
-
9 years ago
2
Simple obfuscated URL catcher
PCRE (PHP <7.3)
Sim regexp to try to catch a URL or a obfuscated URL (with spaces) from a string
Submitted by
Eduardo Pereira
-
9 years ago
2
URL extractor
PCRE (PHP <7.3)
Extract parts of an URL.
Submitted by
Gilles Marchand
-
9 years ago
2
URL MATCH
PCRE (PHP <7.3)
URL MATCH
Submitted by
activesatan
-
9 years ago
2
domain for Google Data Studio (re2 dialect)
Golang
Matches subdomain, domain and top level in a field that contains a urls. https://www.whatever.you.want ---> whatever.you.want
Submitted by
anonymous
-
9 years ago
2
URL parser
PCRE2 (PHP >=7.3)
The best way to parse URL via Regex. This can be used in javascript, PHP, etc.
Submitted by
Ivijan-Stefan Stipic
-
8 years ago
(Last modified 2 years ago)
2
Extract fields from repository url
Python
It is used to extract fields from the repository URL Works in Python and JS Group1 : protocol (Such as http or https) Group2 : domain (Such as github.com or gitlab.com) Group3: Name space (Such as your personal namespace or project namespace) Group4: Project name (Such as your project name)...
Submitted by
anonymous
-
6 years ago
2
Simple Best URL Regex Match
PCRE (PHP <7.3)
Best URL Regex to match URL, This is simple and can match 64K of url regex under 20ms Regex Matches All Below and more: https://example.domain http://example.domain...
Submitted by
anonymous
-
5 years ago
1
2
3
4
5
...
51