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 5,700 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IETF Locale Tag
ECMAScript (JavaScript)
For more background, refer to: http://codel10n.com/what-is-correct-locale-tag-en_us-vs-en-us/
Submitted by
anonymous
-
4 years ago
2019-11-12 13:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Bash command help flags extract
ECMAScript (JavaScript)
Extracts the flag option information from a bash 'COMMAND --help'.
Submitted by
anonymous
-
4 years ago
2019-11-10 15:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
从计算表达式中分别提取含x和y的部分
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-10 06:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
B&C integer plus eighths
ECMAScript (JavaScript)
This regular expression will match the following: 0 1-39 Integers Mixed numbers of the form x y/8 or x-y/8 where x is an integer between 1 & 9 and y is an integer between 0 & 7 xx y/8 or xx-y/8 where xx is an integer between 1 & 39 and y is an integer between 0 & 7...
Submitted by
anonymous
-
4 years ago
2019-11-10 04:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Telephone number : strict international section, flexible local section for wider international and allows spaces for visual formatting
ECMAScript (JavaScript)
Telephone number strict international section :- starting with '+' or '00' flexible local section for wider international and allows spaces for visual formatting Close enough for many requirements. Tweak to match your country/circumstances better. ...
Submitted by
PS
-
4 years ago
2019-11-08 10:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Insert CDATA on SVG text fields
ECMAScript (JavaScript)
For each that it founds, it inserts a <![CDATA[ ... ]]>
Submitted by
anonymous
-
4 years ago
2019-11-08 09:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
point 2
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-06 15:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
sample
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-06 12:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
UK postcode
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-05 10:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Phone regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-05 10:34
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
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)
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)
手机号正则
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)
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)
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)
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)
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)
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)
Coding Kata Exercise #1
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-10-22 21:11
1
...
176
177
178
179
180
181
182
...
285
My-DesiredEmailFormatValidation
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
^\w
+
(
[
-+.'
]
\w
+
)*
@
\w
+
(
[
-.
]
\w
+
)*
\.
\w
+
(
[
.
]
\w
+
)*
$
/
gmi
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
5 years ago
2019-01-18 21:53