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...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Date 01
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-12-11 14:02
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
anti-xss regex
ECMAScript (JavaScript)
this is a white list regex that invalidates input with "=
Submitted by
Ivan Cai
-
8 years ago
2015-12-11 03:58
(Last modified 2 months ago)
2023-07-24 23:03
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
123
ECMAScript (JavaScript)
fsd
Submitted by
fds
-
8 years ago
2015-12-10 13:28
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
regex date_time
ECMAScript (JavaScript)
expression régulière pour les dates et les heures précises au millionième de seconde
Submitted by
Master
-
8 years ago
2015-12-10 13:28
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Lua Symbol Recognizer
ECMAScript (JavaScript)
Recognizes the set of all Lua symbols
Submitted by
Nicholas Barrett
-
8 years ago
2015-12-09 15:59
-1
1 upvotes, 2 downvotes (score 6.1%) (You must be signed in to vote)
Replace comma separated decimals (comma instead of point)
ECMAScript (JavaScript)
Matches, line by line, a comma separated list of decimal numbers with comma as decimal character (Spanish way) Produces a list of comma separated pairs (space separated innermost) of decimal numbers with point as decimal character (English way)
Submitted by
Bruno A. Castro
-
8 years ago
2015-12-09 14:00
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Domain Regex (line start)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-12-09 10:59
10
15 upvotes, 5 downvotes (score 53.1%) (You must be signed in to vote)
Valid Telephone Number
ECMAScript (JavaScript)
This regex validates varying types of telephone numbers.
Submitted by
Adam Recvlohe
-
8 years ago
2015-12-09 01:04
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
get rid of hash tag
ECMAScript (JavaScript)
no description available
Submitted by
LittlePiggy
-
8 years ago
2015-12-09 00:40
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match zero-trimmed, quarter increment number
ECMAScript (JavaScript)
000.250 => 0.25 1.1 => 1 0.0 => 0
Submitted by
Paul Erickson
-
8 years ago
2015-12-08 16:51
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
date Format
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-12-07 07:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Grab filepaths from `source` in a bash script
ECMAScript (JavaScript)
Useful for making a build script that compiles all sources into one file.
Submitted by
William George
-
8 years ago
2015-12-05 19:01
3
4 upvotes, 1 downvotes (score 37.6%) (You must be signed in to vote)
Firt letter of names capitalize with exceptions
ECMAScript (JavaScript)
Check if brazilian names are imputed correctly. Ex: Paulo da Silva
Submitted by
William
-
8 years ago
2015-12-04 16:10
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
url validation HTML5
ECMAScript (JavaScript)
This is validation that is used in html5 for validate the url. http://www.faqs.org/rfcs/rfc3987.html
Submitted by
Alex Matos
-
8 years ago
2015-12-04 10:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
1
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-12-04 07:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
handlebars template match
ECMAScript (JavaScript)
returns all the handlebars elements in a line - returns {{...}} for each instance found Matches the following test {{sss}} s {{rrr}} dkdksl {{dds}} {{ dhre }} {{je ss}} returns ['{{sss}}','{{rr}}','{{dds}}','{{ dhre }}','{{je ss}}']
Submitted by
anonymous
-
8 years ago
2015-12-02 15:01
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Oxford comma
ECMAScript (JavaScript)
Insert comma in lists before the word "and" or "or".
Submitted by
Mogsdad w/ assist from TerryAtOpus
-
8 years ago
2015-12-01 21:02
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
Website URL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-12-01 17:32
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
phone number belarus updated 2
ECMAScript (JavaScript)
+375 (33) 302-66-60 or +375333026660 http://stackoverflow.com/questions/33056434/regex-for-phones-at-belarus
Submitted by
anonymous
-
8 years ago
2015-12-01 12:04
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
belarus phone number updated
ECMAScript (JavaScript)
+375 (33) 302-66-60 or +37533302-66-60 http://stackoverflow.com/questions/33056434/regex-for-phones-at-belarus
Submitted by
anonymous
-
8 years ago
2015-12-01 12:00
1
...
144
145
146
147
148
149
150
...
177
data-repeat
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
\$\{
.
*
\#
each
\s
+
(
.
*
)
\s
+
in
\s
+
(
.
*
)
\s
*
\}
(
[
\w
.
\s\S
]
*
)
\$\{\#
endeach
\}
/
i
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 years ago
2015-11-09 23:34