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,000 community submitted regex patterns...
2
URL Regex
.NET 7.0 (C#)
Matches protocol, domain, port, path, query and anchor as named capturing groups.
Submitted by
Jonathan
-
2 years ago
(Last modified 2 years ago)
2
URLs
ECMAScript (JavaScript)
A simple URL regex that can handle most "properly" formed URLs, and some URIs. It features named groups to easily destruct matches. URIs can use relative paths (../ and ./) to resources. Example (JavaScript) let url = "https://username:password@example.org:8080/path/to/resource?query=term&query=ter...
Submitted by
ephellon
-
2 years ago
(Last modified a year ago)
2
GitHub URL Parser
ECMAScript (JavaScript)
A regular expression for extracting the author, repository name, and optional branch from a GitHub repository or tree URL. Handles both HTTP(S) and direct GitHub links.
Submitted by
Xain
-
9 months ago
2
Telegram URL
ECMAScript (JavaScript)
I had to check for myself, but I thought, suddenly someone also come to someone later =)
Submitted by
chiminori
-
5 months ago
(Last modified 5 months ago)
3
Twitch URL Regex
Python
Can grab all kinds of valid twitch URLs.
Submitted by
Mio
-
10 years ago
3
split URL into location-resource-params
PCRE (PHP <7.3)
Extract resource location, name and query parameters from a URL
Submitted by
cebence
-
11 years ago
3
Get URL parameters
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
3
images url match in text
PCRE (PHP <7.3)
no description available
Submitted by
Redfern.89
-
10 years ago
3
URL Regex (protocol strict)
ECMAScript (JavaScript)
Includes resource strings, taken from here: https://gist.github.com/dperini/729294
Submitted by
Diego Perini
-
10 years ago
0
URL matching
PCRE (PHP <7.3)
Complete url matching with storage of various parameters
Submitted by
hjpotter92
-
11 years ago
4
url
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
4
url matching
ECMAScript (JavaScript)
supports all major protocols
Submitted by
matheus silva
-
10 years ago
4
Capture only top-level (root) domain in URL
PCRE (PHP <7.3)
no description available
Submitted by
guyfawkes
-
10 years ago
5
Accept url without www
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
5
URL
PCRE (PHP <7.3)
URL Description from Dr. M. G. @ Brookes
Submitted by
anonymous
-
10 years ago
3
Find URLs in markdown where the lines have been wrapped
Python
no description available
Submitted by
anonymous
-
11 years ago
3
URL with matching categories
PCRE (PHP <7.3)
Finds the protocol, subdomain, ((domain, extension)/ipaddress), port, filepath (split in path and filename), the route and the query string.
Submitted by
fps
-
10 years ago
3
Match a URL from a text message
ECMAScript (JavaScript)
I use this to match the first url present in a text message.
Submitted by
anonymous
-
10 years ago
3
pronouceable strings
PCRE (PHP <7.3)
find pronouceable 10 letter srings that are either all caps or all lowercases based on jsbin.com pronouceable urls
Submitted by
anonymous
-
9 years ago
3
Full Best URL Regex Match
PCRE (PHP <7.3)
Best Full URL Regex to match URL, This is simple and can match 64K of url regex under 77ms Regex Matches All Below and more: https://example.domain http://example.domain...
Submitted by
divineniiquaye
-
4 years ago
1
...
47
48
49
50