Please enable JavaScript to use regex101
Regular
Expressions
101
Support Regex101
Social
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)
ECMAScript (JavaScript)
Python
Golang
Java
.NET 7.0 (C#)
Rust
PCRE (Legacy)
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among community submitted regex patterns...
0/512
17
CSS Color Matcher
Created
·
2023-08-07 02:36
Flavor
·
ECMAScript (JavaScript)
Pattern matching and extracting color code formats using RegEx. https://github.com/Kyza/color-regex/
Submitted by
Kyza
36
Strict Password Validator
Created
·
2018-01-31 01:03
Updated
·
2023-07-19 15:28
Flavor
·
ECMAScript (JavaScript)
This regex matches only when all the following are true: password must contain 1 number (0-9) password must contain 1 uppercase letters password must contain 1 lowercase letters password must contain 1 non-alpha numeric number password is 8-16 characters with no space
Submitted by
qho
22
Email (RFC2822)
Created
·
2015-07-01 09:31
Flavor
·
ECMAScript (JavaScript)
Recommended
·
Email address compliant with RFC2822
Submitted by
Jago
14
UUID
Created
·
2014-12-01 17:13
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
15
Email regex validation
Created
·
2019-03-17 21:49
Updated
·
2023-07-27 21:03
Flavor
·
ECMAScript (JavaScript)
RegEx email /^((?!\.)[\w-_.]*)(@\w+)(\.\w+(\.\w+)?)$/gim; Just playing with Reg Ex. This to validate emails in following ways The email couldn't start or finish with a dot The email shouldn't contain spaces into the string The email shouldn't contain special chars ( mailname@domain.com First group takes the first string with the name of email \$1 => (mailname) Second group takes the @ plus the domain: \$2 => (@domain) Third group takes the last part after the domain : \$3 => (.com)
Submitted by
https://www.linkedin.com/in/peralta-steve-atileon/
9
IP Address (with 0s)
Created
·
2015-09-28 21:24
Flavor
·
ECMAScript (JavaScript)
Matches all valid IP addresses from 0.0.0.0 to 255.255.255.255
Submitted by
Ryan Plummer
24
grab valid css rules and properties
Created
·
2015-06-03 19:17
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
Pavel Dominguez
15
us postal/zip
Created
·
2014-01-13 22:15
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
jay johnson
13
US Currency Format
Created
·
2016-01-23 17:46
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
10
money: either 0 or 2 dp
Created
·
2015-11-18 19:34
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
13
Credit Card Expiry Date
Created
·
2015-05-26 05:34
Flavor
·
ECMAScript (JavaScript)
Allows inserting expiry date as MM/YYYY or MM-YYYY format
Submitted by
Rider
12
Full url parse, domain, path, params
Created
·
2015-08-25 20:54
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
5
among us references
Created
·
2021-05-03 17:10
Updated
·
2021-05-07 18:00
Flavor
·
ECMAScript (JavaScript)
it detects among us references among us aming us mongus amogus sus suspect was not the impostor no imposters remain 3 impostors remain
Submitted by
h
7
Extract currency with currency symbol if present
Created
·
2015-09-11 11:35
Flavor
·
ECMAScript (JavaScript)
Extracts values of the form £nnn,nnn.nn or $nnn.nnn from text
Submitted by
Simon Gardner
7
simple email
Created
·
2015-06-11 01:12
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
7
TimezoneOffset
Created
·
2014-12-09 07:00
Flavor
·
ECMAScript (JavaScript)
used to parse timezone in the format -08:00 or +05:30
Submitted by
Neha
73
Regex for telephone numbers all over the world
Created
·
2014-04-08 07:58
Updated
·
2023-10-09 14:47
Flavor
·
ECMAScript (JavaScript)
Recommended
·
Detects most of the phone numbers all over the world
Submitted by
Aditya Joshi
16
Hashtag
Created
·
2014-10-05 17:14
Flavor
·
ECMAScript (JavaScript)
The secret of the Twitterverse.
Submitted by
Joogl
35
IP Address validator
Created
·
2015-06-18 12:52
Flavor
·
ECMAScript (JavaScript)
Validates IPv4 IP Address
Submitted by
krzysp
9
youtube url match
Created
·
2015-08-19 03:04
Flavor
·
ECMAScript (JavaScript)
extract video id, index, play list id from youtube url
Submitted by
anonymous
Community Library Entry
9
Regular Expression
Created
·
2015-08-19 03:04
Flavor
·
ECMAScript (JavaScript)
/
(?:
https
?
:
\/\/
)?(?:
www
\.
)?(?:
youtu
\.
be
\/
|
youtube
\.
com
\/
(?:
embed
\/
|
v
\/
|
playlist
\?
|
watch
\?
v=
|
watch
\?
.
+
(?:
&
|
&
)
;v=
)
)(
[
a
-
zA
-
Z0
-
9
\-
_
]
{11}
)?(?:
(?:
\?
|
&
|
&
)
index=
(
(?:
\d
){1,3}
)
)?(?:
(?:
\?
|
&
|
&
)?
list=
(
[
a
-
zA
-
Z
\-
_0
-
9
]
{34}
)
)?(?:
\S
+
)?
/
g
Open regex in editor
Description
extract video id, index, play list id from youtube url
Submitted by
anonymous