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,540 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Tests string if it is a valid number with or without its unit
ECMAScript (JavaScript)
Useful when working with css
Submitted by
anonymous
-
4 years ago
2019-10-16 09:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Captures only numbers with 2+ digits and excluding prefix 0's
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-10-16 11:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Us phone regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-10-16 13:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Saas Path Parser
ECMAScript (JavaScript)
Analyze a text looking for a Saas path (in CFE context). It should identify following groups: saasPrefix sicTenant Id sicTenantOrContainerId (If containerId is not present, SicTenant will come here)...
Submitted by
Xvi
-
4 years ago
2019-10-18 12:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Check & parse Azure Blob Storage URL for CFE
ECMAScript (JavaScript)
Check and parses a URL to identify following segments: azurePrefix : fix segment identifying the origin of the message. It includes Azure Blob Storage account name. containerId: Identifier of the container. It'll allow to find Sic & tenant to drive the to the right place. inDir : Internal use. path:...
Submitted by
anonymous
-
4 years ago
2019-10-18 16:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
移除小程序云函数栈日志中的无效行
ECMAScript (JavaScript)
使其更已读
Submitted by
anonymous
-
4 years ago
2019-10-19 07:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
html tag grabber
ECMAScript (JavaScript)
using group
Submitted by
anonymous
-
4 years ago
2019-10-19 08:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Straßenname Germany, Austria, Switzerland, Netherlands
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-10-21 08:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Zip Code Germany, Austria, Switzerland, Netherlands
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-10-21 10:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Belgian PhoneNumber
ECMAScript (JavaScript)
Validates both mobile and landlines allows forward slash and dots according to common conventions among the people
Submitted by
anonymous
-
4 years ago
2019-10-21 12:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Coding Kata Exercise #1
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-10-22 21:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ISAN/ISMN/ISRN/ISWC
ECMAScript (JavaScript)
Combined patterns for ISAN, ISMN, ISRN and ISWC to distinguish them for BibLaTeX output.
Submitted by
anonymous
-
4 years ago
2019-10-23 10:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Date Input mask expression
ECMAScript (JavaScript)
An expression to test weather or not to add a / when entering in dates
Submitted by
anonymous
-
4 years ago
2019-10-24 03:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
video img
ECMAScript (JavaScript)
/\/g
Submitted by
anonymous
-
4 years ago
2019-10-24 09:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Number range
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-10-24 13:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Repeated Responses
ECMAScript (JavaScript)
Find three repetitions of yes or no anywhere in a string.
Submitted by
anonymous
-
4 years ago
2019-10-24 14:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
手机号正则
ECMAScript (JavaScript)
匹配手机号码的正则表达式 支持130——139、150——153、155——159、180、183、185、186、188、189号段
Submitted by
anonymous
-
4 years ago
2019-10-25 03:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
GapList
ECMAScript (JavaScript)
read in gap list file with date day range between 17-21
Submitted by
anonymous
-
4 years ago
2019-10-29 15:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
GapList
ECMAScript (JavaScript)
read in gap list file with date day range between 17-21
Submitted by
anonymous
-
4 years ago
2019-10-29 15:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
JavaScript Email regex
ECMAScript (JavaScript)
Javascript regex to validate email address
Submitted by
anonymous
-
4 years ago
2019-10-31 08:16
1
...
145
146
147
148
149
150
151
...
177
ISO 8601 Duration Validator
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
^
P
(
(
[
0
-
9
]
+
Y
)?
(
[
0
-
9
]
+
M
)?
(
[
0
-
9
]
+
W
)?
(
[
0
-
9
]
+
D
)?
(
T
(
[
0
-
9
]
+
H
)?
(
[
0
-
9
]
+
M
)?
(
[
0
-
9
]
+
(
\.
?
[
0
-
9
]
+
)?
S
)?
)
)?
$
/
Open regex in editor
Description
Loading markdown...
Submitted by
ed0wolf
-
8 years ago
2015-11-05 07:41