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
Extract parts of a URL on Python
Python
Extract parts of a URL on Python
Submitted by
dixanms
-
3 years ago
2
Find external resources in styles
ECMAScript (JavaScript)
Finds all external resources declared as url() in styles. Handles different quote types if any, even escaped ones: url(...) url('...') url("...") url(\'...\') url(\"...\")
Submitted by
anonymous
-
3 years ago
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)
1
background:url
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
11 years ago
0
background:url
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
11 years ago
0
background:url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-2
Regular expression for both IPv6 and IPv4 URL
PCRE (PHP <7.3)
no description available
Submitted by
Henry Li
-
11 years ago
1
background-image URL
PCRE (PHP <7.3)
regex to fetch the URL of the background-image CSS-Propertie
Submitted by
Mutator
-
11 years ago
1
test url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
Matching url
Python
no description available
Submitted by
anonymous
-
11 years ago
1
URL-safe, human-safe friendly IDs
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
1
Extract google fonts key, value, options
PCRE (PHP <7.3)
This regular expression is used to extract google font information from the embeded url
Submitted by
anonymous
-
11 years ago
0
url GET parameters
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
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
1
URL REGULAR EXPRESSION CHALLENGE
PCRE (PHP <7.3)
Follow the instructions to match/don't match the following urls. Then post to comminity with title: [URL CHALLENGE]:
Submitted by
kostas trichas
-
11 years ago
1
Finding URLs within full text
ECMAScript (JavaScript)
Finds URLs in a larger body of text. URLs may or may not be enclosed in punctuation, such as parentheses, that are not part of the URL.
Submitted by
D0nB1z
-
11 years ago
0
wildcard url match with url
PCRE (PHP <7.3)
no description available
Submitted by
Ahosan Karim Asik
-
11 years ago
1
...
5
6
7
8
9
...
50