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 3,640 community submitted regex patterns...
0
3-50 all
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Date formatting
ECMAScript (JavaScript)
This catches a few formats for dates, including the year, and seperates as much as I think at the moment is possible to make it easy to manipulate the needed data points in the expression
Submitted by
Luis Perez
-
9 years ago
0
Minify css selectors
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
subdomain rewrite
ECMAScript (JavaScript)
no description available
Submitted by
mackenzie starr
-
9 years ago
0
Invoice Number
ECMAScript (JavaScript)
no description available
Submitted by
Sebastian Proske
-
9 years ago
0
Split HTML string
ECMAScript (JavaScript)
Extracts HTML tags, HTML entities, alphanumeric words, and the rest.
Submitted by
Azmizar
-
9 years ago
0
Website
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
number or range
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
URL query string regex
ECMAScript (JavaScript)
no description available
Submitted by
AC
-
9 years ago
0
Filename for download request, contaions persian charachters too
ECMAScript (JavaScript)
no description available
Submitted by
Saeed.Tabrizi@gmail.com
-
9 years ago
0
Javascript SQL String
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
allow Cyrillic and latin alphabets, no special charcters
ECMAScript (JavaScript)
allows email, text and numbers in latin and cyrillic alaphbets.but prevents special charcters: Hello, example@mail.com Меня зовут Боб
Submitted by
Kez
-
9 years ago
0
US Telephone number
ECMAScript (JavaScript)
Regex for validating us telephone number as per freecodecamp testcases-
Submitted by
Yashdeep Hinge
-
9 years ago
0
"^\d*\.?((25)|(50)|(5)|(75)|(0)|(00))?$"
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
href parse v2
ECMAScript (JavaScript)
matches href, title, innerhtml
Submitted by
chrysls
-
9 years ago
0
UK Postcode
ECMAScript (JavaScript)
Tests UK Postcode with alternative for Postcode Prefix
Submitted by
Calvin Willman
-
9 years ago
0
text validation
ECMAScript (JavaScript)
allows white spaces, -, Umlaut and ß
Submitted by
anonymous
-
9 years ago
0
At least 8 chars, at least a Mayus or special char & at least a number
ECMAScript (JavaScript)
no description available
Submitted by
Luis Arias :D
-
9 years ago
0
Check That User Has Input Valid YYYY
ECMAScript (JavaScript)
This simple regex checks if a user has input correct YYYY format.
Submitted by
@izotope115
-
9 years ago
0
Validates Against YYYY
ECMAScript (JavaScript)
This regex checks if a user has input 4 digit year integer.
Submitted by
@izotope115
-
9 years ago
1
...
8
9
10
11
12
...
182
Community Library Entry
3
Regular Expression
Golang
`
^
(?P<scheme>
[^
:
\/
?#
]
+
)
:
(?:
\/\/
)?
(?:
(?:
(?P<login>
[^
:
]
+
)
(?:
:
(?P<password>
[^
@
]
+
)?
)?
@
)?
(?P<host>
[^
@
\/
?#:
]
*
)
(?:
:
(?P<port>
\d
+
)?
)?
)?
(?P<path>
[^
?#
]
*
)
(?:
\?
(?P<query>
[^
#
]
*
)
)?
(?:
#
(?P<fragment>
.
*
)
)?
`
gm
Open regex in editor
Description
Extract URL parts only named capturing groups
Submitted by
dixanms
-
3 years ago