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
Steam profile ID from URL
PCRE2 (PHP >=7.3)
Extracts the / from links like https://steamcommunity.com/id/rafa_br34/ or https://steamcommunity.com/profiles/76561198449824687/
Submitted by
rafa_br34
-
2 months ago
1
Validate url external resource
PCRE2 (PHP >=7.3)
Can be used to test the validity of an external resource `` function isExternalUrlResource($url) { if(preg_match('!^(?https?)?:?(?\/\/)(?[a-zA-Z0-9]+[\.]+[a-zA-Z0-9-.]+)(?:\d+)?(?[a-zA-Z0-9\/]+.*)?$!i', $url, $matches)) { return isset($matches['host']) && isset($matches[...
Submitted by
Eolia
-
a month ago
(Last modified a month ago)
1
URL matching
Python
Matches URLs in texts. Forked from https://regex101.com/r/cX0pJ8/1 , then removed matching emails
Submitted by
anonymous
-
a month ago
1
Url Duzenleyici
PCRE2 (PHP >=7.3)
za
Submitted by
Gultekin
-
a month ago
2
Get dynamic parameters from an URL
PCRE (PHP <7.3)
Gets the parameters (how many you want) from a url and organize into groups
Submitted by
Caio Oliveira
-
12 years ago
2
@import url(comments.css)
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
11 years ago
2
Unicode url sanitising
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
2
Url with <a> (param) validation
PCRE (PHP <7.3)
https://www.google.com http://www.google.net/hello https://www.google. http://www.google./hello above url matching with given regex...
Submitted by
Duleep Dissanayaka
-
11 years ago
2
HTTP url parser
PCRE (PHP <7.3)
Parses a URL to the different parts
Submitted by
AmitK
-
11 years ago
2
SFTP or FTP url
PCRE (PHP <7.3)
Parse an SFTP or FTP url and brak it into named capture groups.
Submitted by
Cullen Johnson
-
11 years ago
2
Match 4chan thread URL
ECMAScript (JavaScript)
Matches a 4chan thread URL, see the examples
Submitted by
Zeke Sonxx <github.com/zekesonxx>
-
11 years ago
2
Get video parameters from many video services at once
ECMAScript (JavaScript)
supported youtube, vimeo, face liveleak, break, ebaums, facebook support url and iframes
Submitted by
Misthero
-
11 years ago
2
YouTube Embed Video & Playlist from URL
ECMAScript (JavaScript)
It gets the playlistID and the videoID to conform the embed URL from the video URL
Submitted by
@rubenlopezgea
-
10 years ago
2
Match domain part in Http(s) URLs
PCRE (PHP <7.3)
no description available
Submitted by
Nilratan
-
10 years ago
2
Find any URL with no trailing slash
ECMAScript (JavaScript)
Not perfect, but better than none.
Submitted by
oneglory
-
10 years ago
2
extract twitter username from url
ECMAScript (JavaScript)
Adopted one of answers from: http://stackoverflow.com/questions/5948051/regex-extract-twitterusername-from-url
Submitted by
anonymous
-
10 years ago
2
URL
PCRE (PHP <7.3)
Matches the URL from the text to 95 percentage
Submitted by
Harinath
-
10 years ago
2
CSS URL parser tilde only
ECMAScript (JavaScript)
Find any url('~filename.jpg'). URL must contain tilde
Submitted by
@adjavaherian
-
10 years ago
2
Beautiful Regex for detecting Slack URL's
PCRE (PHP <7.3)
just lovely
Submitted by
the boiz aka ben and chris
-
10 years ago
2
Password Log
PCRE (PHP <7.3)
Matches a password that has been passed in as a url query parameter or in a post dictionary.
Submitted by
Anthony Miller
-
10 years ago
1
...
45
46
47
48
49
...
51