Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
Order By
Most Recent
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET (C#)
Rust
Sponsors
Community Patterns
Search among 3,760 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Date Validation - Including Leap Year (mm/dd/yyyy)
ECMAScript (JavaScript)
This regex validates all dates between 01/01/1900 and 12/31/2099, including leap-year validation. It follows a mm/dd/yyyy format, and enforces two-digit month/year formats.
Submitted by
anonymous
-
4 years ago
2019-08-19 20:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
String after $
ECMAScript (JavaScript)
Selects the string after the $ sign
Submitted by
anonymous
-
4 years ago
2019-08-20 17:28
(Last modified 2 years ago)
2021-07-21 16:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get document.cookie value by name
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-08-21 19:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
riley 1
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-08-22 20:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
riley 2
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-08-22 20:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
riley 3
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-08-22 21:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
VBA Comment
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-08-25 17:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
enhanced path pattern 2
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-08-30 06:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
json regex masterpiece
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-08-30 08:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
BEM
ECMAScript (JavaScript)
A variety of BEM flavoured regex.
Submitted by
anonymous
-
4 years ago
2019-09-03 15:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
path pattern with 10 versions
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-09-04 09:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
transform regex
Golang
vault sync
Submitted by
anonymous
-
4 years ago
2019-09-04 20:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ip4校验
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-09-05 06:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
REGEX - Find 10 digits, starting with '9'. Can contain white-spaces, but these should be ignored.
ECMAScript (JavaScript)
An invoice number always has 10 digits, starting with a '9' (e.g. '9400065741'). But a number should also be found if it contains white-spaces. These numbers should also be found: '9400065741' ' 94 00065741'...
Submitted by
anonymous
-
4 years ago
2019-09-05 09:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
postcode both lower & upper case
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-09-06 10:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
positivehead_dollar
ECMAScript (JavaScript)
(?=\w{5,})(?=\D*\d{2}$)
Submitted by
anonymous
-
4 years ago
2019-09-06 15:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
中文英文匹配规则
ECMAScript (JavaScript)
中文英文匹配规则
Submitted by
anonymous
-
4 years ago
2019-09-07 14:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Image Charts - chm
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-09-10 08:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find //Character entries
ECMAScript (JavaScript)
^(\/\/)(?![\ ])(\w)*
Submitted by
anonymous
-
4 years ago
2019-09-10 13:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
[Ethias] Old File Number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-09-10 13:45
1
...
148
149
150
151
152
153
154
...
188
capture ip address/port/path
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
\b
(
(?:
[
0
-
9
]
{1,3}
\.
){3}
[
0
-
9
]
{1,3}
)
\b
(
[
:/
]
|
$
)
(
(
[
0
-
9
]
{1,4}
)
|
(
[
\S\d
]
.
+
)
)
(
.
*
)
|
$
/
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 years ago
2016-01-05 20:25