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,860 community submitted regex patterns...
1
Timestamps
ECMAScript (JavaScript)
Recognizes timestamps with the technical timestamp format.
Submitted by
Alejandro, Andreu
-
2 years ago
(Last modified 2 years ago)
0
Email Validation
ECMAScript (JavaScript)
invalid email abc abc.com valid email address abc@mail.com...
Submitted by
anonymous
-
2 years ago
1
URL Parts Extractor
ECMAScript (JavaScript)
Extracts parts of an URL into regex groups: ((?:(?:http|ftp|ws)s?|sftp):\/\/?)?(group 1): extracts the protocol (+\.+|localhost)(group 2): extracts the hostname (:\d+)?(group 3): extracts the port number ((?:\/\w+)\/)?([\w\-.]++)?(groups 4 & 5)*: extracts the path part (+)?(group 6): extracts the qu...
Submitted by
Elie Grenon (elie-g)
-
2 years ago
0
Tel
ECMAScript (JavaScript)
Match : '+' at start. ' ' | '.' | '-' between number. Between 7 and 24 numbers. Work with HTML5 pattern.
Submitted by
valent1618
-
2 years ago
0
Strong password
ECMAScript (JavaScript)
The password must contain : Between 8 and 24 chars 1 lowercase 1 uppercase 1 number 1 special char...
Submitted by
valent1618
-
2 years ago
0
find filename in full path
ECMAScript (JavaScript)
Finds the filename when given a full path.
Submitted by
ground0hg
-
2 years ago
0
Regex fullname (auth-service)
ECMAScript (JavaScript)
Full name is at least 2 words The words of full name are have uppercase character at the beginning and lowercase characters for the rest. Between two words is just a space character. Full name does not have space character at the beginning and the end of the string.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Best Facebook video ID regex
ECMAScript (JavaScript)
Best Facebook video ID regex
Submitted by
Vikas Kapadiya
-
2 years ago
1
Function argument in LScript
ECMAScript (JavaScript)
RegEx for finding each argument when creating a function in LScript programming language
Submitted by
anonymous
-
2 years ago
1
Function creation in LScript
ECMAScript (JavaScript)
RegEx for finding creation of a function in LScript programming language
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
Function for LScript
ECMAScript (JavaScript)
RegEx for finding function in LScript programming language
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Remove useless zeroes.
ECMAScript (JavaScript)
Replaces the string with a version that doesn't have the zeroes at the beginning or end of the string.
Submitted by
anonymous
-
2 years ago
0
test
Java 8
test
Submitted by
anonymous
-
2 years ago
0
Date validation in yyyy-mm-dd format
ECMAScript (JavaScript)
Comes with choice of four separators
Submitted by
Regular-Expressions.info
-
2 years ago
-1
Extract favicon from html head meta links
ECMAScript (JavaScript)
I needed a generic way to pull the shortcut icon for sites. This expression parses the html for the icon. If the icon was not found, my code checks for the "favicon.ico" in the root of the site.
Submitted by
groundh0g
-
2 years ago
0
Time Regex
ECMAScript (JavaScript)
time
Submitted by
12944qwerty
-
2 years ago
0
Regular expression for positive number with 2 decimals used for displaying money
Java 8
I think from time to time we all need a regular expression for displaying numbers with 2 decimals for displaying money of various currencies in the world. This regex should only allow 1 dot or comma as a decimal separator. And only allow positive numbers and the numbers can't begin with a 0. Goals:...
Submitted by
Remzi Cavdar
-
2 years ago
(Last modified a year ago)
0
Regex range price
ECMAScript (JavaScript)
Regex range price
Submitted by
anonymous
-
2 years ago
0
Oauth2 client token matcher
Java 8
Grep the token value for almost any JSON response containing an oauth2 token as describe in rfc6749
Submitted by
Pharaphara
-
2 years ago
0
At least one uppercase and one lowercase Russian word with no digits nor spaces, nor special characters
ECMAScript (JavaScript)
A regular expression that matches conditions mentioned in above title
Submitted by
Kenya-West
-
2 years ago
1
...
20
21
22
23
24
...
193
Community Library Entry
1
Regular Expression
Golang
`
^
(?:
https
?
:
\/\/
)?
(?:
(?:
www
\.
)?
youtube
\.
com
\/
(?:
(?:
v
\/
)
|
(?:
embed
\/
|
watch
(?:
\/
|
\?
)
){1,2}
(?:
.
*
v=
)?
|
.
*
v=
)?
|
(?:
www
\.
)?
youtu
\.
be
\/
)
(
[
A
-
Za
-
z0
-
9_
\-
]
+
)
&
?
.
*
$
`
gmi
Open regex in editor
Description
no description available
Submitted by
RyuaNerin
-
9 years ago
(Last modified a year ago)