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,780 community submitted regex patterns...
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
File Name (Windows)
ECMAScript (JavaScript)
Valid windows file name.
Submitted by
anonymous
-
7 years ago
2016-09-02 23:59
-3
2 upvotes, 5 downvotes (score 8.2%) (You must be signed in to vote)
Strict email validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2015-02-28 10:35
-1
1 upvotes, 2 downvotes (score 6.1%) (You must be signed in to vote)
Australian local and international mobile validation
ECMAScript (JavaScript)
no description available
Submitted by
Damien Capocchi
-
8 years ago
2015-11-24 01:02
-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, 2 downvotes (score 6.1%) (You must be signed in to vote)
DD/MM/YYYY
ECMAScript (JavaScript)
no description available
Submitted by
nehakadam
-
8 years ago
2016-01-13 06:33
-1
1 upvotes, 2 downvotes (score 6.1%) (You must be signed in to vote)
Only letters without numbers
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2016-03-17 13:20
-1
1 upvotes, 2 downvotes (score 6.1%) (You must be signed in to vote)
Arabic AlphaNumeric
ECMAScript (JavaScript)
Arabic AlphaNumeric text
Submitted by
Ahmed
-
8 years ago
2016-04-06 08:19
-1
1 upvotes, 2 downvotes (score 6.1%) (You must be signed in to vote)
Sri Lankan NIC Regex
ECMAScript (JavaScript)
Regular Expression to validate NIC of Sri lankna (National Identity Card)
Submitted by
Sithira Munasinghe
-
7 years ago
2016-09-14 11:39
-1
1 upvotes, 2 downvotes (score 6.1%) (You must be signed in to vote)
IPv4 Matcher
Java 8
This RE is divided into four parts. The first three parts are acceptable numbers from 0 to 255 followed by "." The last part is an acceptable number but not followed by "."
Submitted by
EMAM1999
-
3 years ago
2021-03-24 16:23
-1
1 upvotes, 2 downvotes (score 6.1%) (You must be signed in to vote)
rtrtr
Golang
gtgtg
Submitted by
anonymous
-
3 years ago
2021-05-26 15:21
-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
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
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
-
9 years ago
2015-05-29 20:12
-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
-
9 years ago
2015-06-07 19:35
-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
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
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
Word ending with colon
ECMAScript (JavaScript)
no description available
Submitted by
hj
-
8 years ago
2015-07-20 19:03
1
...
77
78
79
80
81
82
83
...
189
Email Regex
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
^
(
[
a
-
z0
-
9
]
+
[
!#$%&'*+
-
/=?^_`{|
]
?
)+
@
(
[
a
-
z0
-
9-
]
)
.
+
(
[
a
-
z0
-
9-
]
)
$
/
gim
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
2 years ago
2022-04-25 21:57