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
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 18,040 community submitted regex patterns...
0
Fully Qualified Domain Name FQDN
PCRE (PHP <7.3)
Fully qualified domain name validation
Submitted by
ximbs
-
10 years ago
-2
Match words in a string
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
2
CSS Minimizer
PCRE (PHP <7.3)
Takes any valid CSS and minimizes it, removing comments and whitespace. Can be called with something like PHP's preg_replace() to dynamically minimize css files.
Submitted by
skoskie
-
10 years ago
3
UK TEL
ECMAScript (JavaScript)
UK Telephone Number REGEX no () and no spaces
Submitted by
\JOLLY
-
10 years ago
0
teste
Python
tes
Submitted by
tes
-
10 years ago
1
Name Validation
PCRE (PHP <7.3)
Start with capital letter. Allowed special characters '(Apostrophe) -(hyphen) .(dot) (space) and can not end with -(Hyphen)
Submitted by
Venu Nimmagadda
-
10 years ago
10
RFC 3987 compliant URL regex
ECMAScript (JavaScript)
This is a JavaScript port of the URL regex from http://stackoverflow.com/a/190405/384062 that includes a bug fix and some optimization. Mathias Bynens's Regenerate was used to convert unicode escapes. Bug fix: Eliminated stray | falsely allowing querystring to contain | ...
Submitted by
Hans Meyer
-
10 years ago
1
Extract name and value from CSS border-radius
ECMAScript (JavaScript)
no description available
Submitted by
pmk
-
10 years ago
1
ie 11 check
ECMAScript (JavaScript)
checks for ie 11 user agent
Submitted by
Yamakichi
-
10 years ago
1
FIND BETWEEN QUOTES
PCRE (PHP <7.3)
Dovrebbe beccare anche eventuali caratteri '' (due apici singoli)
Submitted by
m.montesi
-
10 years ago
-2
Parse all adresses in href
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
4shared
PCRE (PHP <7.3)
www.4shared.com
Submitted by
guru
-
10 years ago
1
a-zA-Z + 0-9 + [!$%&?]
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
leap year validate
ECMAScript (JavaScript)
no description available
Submitted by
Ahosan Karim Asik
-
10 years ago
4
Phone number
PCRE (PHP <7.3)
no description available
Submitted by
Mark Landry
-
10 years ago
0
test
PCRE (PHP <7.3)
AttributeConnID 45524524355
Submitted by
anonymous
-
10 years ago
5
FIlename sanitization regular expression
PCRE (PHP <7.3)
Useful for filename sanitization. Matches invalid filename characters. Can be used in preg_replace() calls.
Submitted by
FractalizeR@yandex.ru
-
10 years ago
1
Google Maps URL Coordinates
PCRE (PHP <7.3)
Find the GPS coordinates in a Google Maps' URL ex. : https://www.google.fr/maps/place/Nancy/@48.6880809,6.173437,14z/data=!3m1!4b1!4m2!3m1!1s0x4794986e17a692cd:0x4ed671b10d82498d Get these : lat : 48.6880809...
Submitted by
Cédric Anamorphik
-
10 years ago
3
javascript regex ftp directory list
ECMAScript (JavaScript)
javascript regex ftp directory list
Submitted by
anonymous
-
10 years ago
2
Country calling codes
PCRE (PHP <7.3)
Parses countries list from https://countrycode.org/
Submitted by
anonymous
-
10 years ago
1
...
836
837
838
839
840
...
902
Community Library Entry
0
Regular Expression
Python
r"
(
(?#1)
(
(?#2:protocol)
\w
+
)
://
)
(
(?#3:hostname)
[
\w
\.
]
+
)
(
(?#4:path)
.
+
|
$
)
"
gm
Open regex in editor
Description
source = "https://regex101.com/r/Y5b7zZ/3" result = ("https", "regex101.com", "/r/Y5b7zZ/3")
Submitted by
saparapat
-
2 years ago