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...
1
Mp4 Url RegEx
PCRE2 (PHP >=7.3)
Match a http, https and local path url that contains Mp4
Submitted by
anonymous
-
10 months ago
1
GitLab URL Parser
ECMAScript (JavaScript)
A regular expression for extracting the author, repository name, and optional branch from a GitLab repository or tree URL. Handles both HTTP(S) and direct GitLab links.
Submitted by
Xain
-
9 months ago
(Last modified 9 months ago)
1
Bitbucket URL Parser
ECMAScript (JavaScript)
A regular expression for extracting the author, repository name, and optional branch from a Bitbucket repository or tree URL. Handles both HTTP(S) and direct Bitbucket links.
Submitted by
Xain
-
9 months ago
1
Match the web URL
PCRE2 (PHP >=7.3)
Match the web URL, like https://xxx.com or xxx.com, not matching the email or the ip address
Submitted by
Hughie
-
8 months ago
1
Comprehensive URL Validation Regex
Python
This regex pattern is designed to validate URLs with the following key features: Protocol Support: Optionally matches http:// or https://. Subdomain Handling: Supports optional www. and valid subdomains. Domain Name Validation: Ensures proper formatting of domain names: Prevents double hyphe...
Submitted by
Hadi Mousavi
-
6 months ago
1
Instagram Profile URL
ECMAScript (JavaScript)
ECMAScript for Instagram Profile URL
Submitted by
chiminori
-
5 months ago
1
Regex to match URLs in a string
ECMAScript (JavaScript)
Regex to match URLs in a string with http and https protocol and optional paths in URL
Submitted by
Kaustubh
-
a month ago
1
get instance name
PCRE (PHP <7.3)
takes a url and takes the instance name after the base url
Submitted by
amitair
-
9 years ago
1
nginx jenkins routing fix
PCRE (PHP <7.3)
jenkins url rewrites form paths ending without a '/' character removed the port part of the url - this fixed that. also paths with an uppercase letter are required to NOT have '/' at the end so those cases are ignored
Submitted by
talmobi
-
9 years ago
1
Fontawesome - Icon parser (hex + title)
PCRE (PHP <7.3)
Page with icons PHP example: Generate xml for android resources header('Content-Description: File Transfer'); header("Content-Type: text/xml");...
Submitted by
IgorSkv
-
9 years ago
1
Regex for Matching Documentation Websites
ECMAScript (JavaScript)
Regex for Matching Documentation Websites This repository contains a powerful regular expression designed to match URLs that commonly point to documentation-related websites. The regex is optimized for flexibility, covering various terms and URL patterns. Regex Pattern ...
Submitted by
jgeofil
-
7 months ago
1
RFC 3986: Uniform Resource Identifier (URI)
PCRE2 (PHP >=7.3)
Please not that this expression is for identifying parts of generic URI's, you may be looking to recognise URL's or http(s) addresses specifically. Did my best to implement the capture groups laid out in RFC 3986. Priority was on readability, so likely not universally compatible between 'regex flav...
Submitted by
MathsStan
-
a month ago
(Last modified a month ago)
1
background:url
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
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 video code from YouTube URL
ECMAScript (JavaScript)
no description available
Submitted by
@uimanwashere
-
10 years ago
1
Validate Url with or without http(s)://
PCRE (PHP <7.3)
This will validate whether you starts with http(s)://
Submitted by
Sanal Menon Kalipurayath
-
10 years ago
1
URL
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
[php] url hard match
PCRE (PHP <7.3)
preg_math_all only. ex.: http://doman.com, http://doman.com/, http://doman.com/?query=1,http://doman.com?query=1, domain.com, doman.com?query=1 and other
Submitted by
Redfern.89
-
10 years ago
1
...
12
13
14
15
16
...
50