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
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
(554) 555 55 55
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-13 09:55
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Match 24H time
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-16 11:56
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Spine Label Regex
ECMAScript (JavaScript)
LC spine label parsing
Submitted by
Dan Pearl
-
7 years ago
2016-05-23 13:05
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
test
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-25 21:56
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Line match
ECMAScript (JavaScript)
Regex to match any no of lines
Submitted by
noby nirmal
-
7 years ago
2016-05-28 07:36
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
date dd.mm.yyyy
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-31 16:03
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Number with optional decimal part
ECMAScript (JavaScript)
This regex checks for numbers with optional decimal part.
Submitted by
Pratik Sanyal
-
7 years ago
2016-06-07 15:46
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Number Ranges
ECMAScript (JavaScript)
Select number ranges dynamically
Submitted by
@yosefh
-
7 years ago
2016-06-08 12:18
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Phone Number
ECMAScript (JavaScript)
For phone numbers with country code(Optional)followed by 10 digit phone number.
Submitted by
Kshama
-
7 years ago
2016-06-09 09:39
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Simple 'Good Enough' Javascript Regex (ASCII Only)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-06-13 20:04
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
email-address
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-06-17 15:28
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Bash (sed)
Java 8
no description available
Submitted by
anonymous
-
7 years ago
2016-06-22 06:56
(Last modified 2 months ago)
2023-07-20 08:08
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
REGEX REVERSE
ECMAScript (JavaScript)
REGEX REVERSE
Submitted by
ljarray
-
7 years ago
2016-06-23 10:09
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
SearchForPhotoName
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-06-29 22:45
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
a
ECMAScript (JavaScript)
a
Submitted by
a
-
7 years ago
2016-06-30 03:35
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
HH:MM
ECMAScript (JavaScript)
Validates 24 hour formmatted hours and minutes
Submitted by
anonymous
-
7 years ago
2016-07-01 11:00
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Parse JSON values
ECMAScript (JavaScript)
Parses JSON keys and values between quotation marks, supports escaping the quotation marks by backspashes
Submitted by
anonymous
-
7 years ago
2016-07-05 20:17
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
fiter plain text from plain text + html content
ECMAScript (JavaScript)
It fiters plain text from plain text + html content, the input has the shape: "plain text html content" It keeps only the plain text at the beginning.
Submitted by
gugol
-
7 years ago
2016-07-05 21:12
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
filepath
ECMAScript (JavaScript)
finds filepath /asdfa/a
Submitted by
anonymous
-
7 years ago
2016-07-06 21:25
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Resource ID validation regex
ECMAScript (JavaScript)
Validator for a typical resource ID string
Submitted by
WinCPP
-
7 years ago
2016-07-16 09:59
1
...
73
74
75
76
77
78
79
...
188
Saas Path Parser
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
^
(?<SaasPrefix>
d:
\\
exchanges
\\
server1
)
\\
(
(?<sicTenantId>
[^
<>:"/
\\\|\?\*
]
+
)
\\
)?
(?<sicTenantOrContainerId>
[^
<>:"/
\\\|\?\*
]
+
)
\\
(?<outDir>
out
)
\\
(?<path>
(
[^
<>:"/
\|\?\*
]
+
\\
)*
?
)
(?<filename>
[^
<>:"/
\\\|\?\*
]
+
(
\.
[^
<>:"/
\\\|\?\*
]
+
)*
)
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Xvi
-
4 years ago
2019-10-18 12:55