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,820 community submitted regex patterns...
-2
3 upvotes, 5 downvotes (score 13.7%) (You must be signed in to vote)
Regex for 1 to 100 with or without decimal values
ECMAScript (JavaScript)
no description available
Submitted by
Ved
-
9 years ago
2014-08-14 10:32
-2
2 upvotes, 4 downvotes (score 9.7%) (You must be signed in to vote)
valid windows file name
ECMAScript (JavaScript)
no description available
Submitted by
Mitacha
-
9 years ago
2014-10-01 14:31
-2
5 upvotes, 7 downvotes (score 19.3%) (You must be signed in to vote)
Decimal Number
ECMAScript (JavaScript)
Parse decimal numbers with optional thousands and/or decimal separator. #i18n #l11n #international
Submitted by
Andreas Pizsa
-
9 years ago
2014-10-03 05:32
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
I need some one to generate an regexp please
ECMAScript (JavaScript)
I need regular expression for the string WC_AUTHENTICATION_1343459084. Here WC_AUTHENTICATION_ remains fixed and the number keeps changing. I have written the below logic. var re = new RegExp('[; ]'+"WC_PERSISTENT"+'[0-9]'); Please help
Submitted by
Sanuvimal.Mohan@target.com
-
9 years ago
2014-10-24 16:58
-2
2 upvotes, 4 downvotes (score 9.7%) (You must be signed in to vote)
Comma-separated numbers with ranges
ECMAScript (JavaScript)
no description available
Submitted by
Eugene
-
9 years ago
2014-11-03 11:32
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
S3 log analysis
ECMAScript (JavaScript)
An updated S3 log analyzer. I found that my logs sometimes had strings quoted, so I needed to add possible handling for that.
Submitted by
Matt Ingenthron <ingenthr@cep.net>
-
9 years ago
2014-11-30 18:31
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
Username
ECMAScript (JavaScript)
^[_a-zA-Z0-9]+$ how to make regex username with underscore. i'm using c# but this regex isn't working.
Submitted by
anonymous
-
9 years ago
2015-04-08 03:53
-2
2 upvotes, 4 downvotes (score 9.7%) (You must be signed in to vote)
Match website - http:|https://i.imgur.com
ECMAScript (JavaScript)
no description available
Submitted by
ghrifter
-
9 years ago
2015-05-22 22:26
-2
2 upvotes, 4 downvotes (score 9.7%) (You must be signed in to vote)
Match Content-Range response header
ECMAScript (JavaScript)
Matches the Content-Range response header format -[end]/[total|*]
Submitted by
mdezem
-
9 years ago
2015-05-22 22:38
-2
3 upvotes, 5 downvotes (score 13.7%) (You must be signed in to vote)
Find a IPV4
ECMAScript (JavaScript)
no description available
Submitted by
Jon Dotsoy
-
9 years ago
2015-05-27 04:15
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
Any telephone number with region and country in any format
ECMAScript (JavaScript)
Matches any telephone number with region parentesis, or separated by points or dash or spaces
Submitted by
https://co.linkedin.com/in/andresfelipecardona
-
8 years ago
2015-05-29 20:12
-2
4 upvotes, 6 downvotes (score 16.8%) (You must be signed in to vote)
Detect HTML Linebreak Tags
ECMAScript (JavaScript)
Detect various possible HTML linebreak tags (eg. )
Submitted by
@benhodgson
-
8 years ago
2015-06-04 10:18
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
Check syntax port ACL VNG
ECMAScript (JavaScript)
no description available
Submitted by
nguyenvq
-
8 years ago
2015-06-07 19:35
-2
3 upvotes, 5 downvotes (score 13.7%) (You must be signed in to vote)
String with 1 lowercase 1 uppercase & 1 digit
ECMAScript (JavaScript)
Regular expression for a validating a string with following rules: at least one lowercase letter at least one upper case letter at least one digit length between 6 and 14...
Submitted by
Rasmita Dash
-
8 years ago
2015-06-16 11:18
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
cron expression
ECMAScript (JavaScript)
This is a relaxed cron validation, meaning that any valid cron expression should pass this; but not anything that passes regex validation is a good cron expression. Used as preliminary validation in web ui. Supports all special characters. Includes seconds field.
Submitted by
enlait
-
8 years ago
2015-06-16 12:40
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
UK (Europe) DateTime
ECMAScript (JavaScript)
Validates input to match UK Date Time standard
Submitted by
Bascoder
-
8 years ago
2015-06-17 16:59
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
Twitter Date format
ECMAScript (JavaScript)
no description available
Submitted by
hjgabrielsen
-
8 years ago
2015-06-19 18:44
-2
2 upvotes, 4 downvotes (score 9.7%) (You must be signed in to vote)
Match words in a string
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-06-24 18:55
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
twitter ids
ECMAScript (JavaScript)
no description available
Submitted by
jaybill
-
8 years ago
2015-06-29 21:13
-2
3 upvotes, 5 downvotes (score 13.7%) (You must be signed in to vote)
Date format regex for ddMMMyyyy
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-07-09 20:33
1
2
3
4
5
...
291
capture strings between starts and ends line
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
(
^
##
assemble
\/
assemble-boilerplate-markdown
starts
)
(
[
\s\S
]
*
?
)
(
^
##
assemble
\/
assemble-boilerplate-markdown
ends
)
/
gmi
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
6 months ago
2023-05-22 17:36
(Last modified 2 months ago)
2023-09-26 04:05