Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 5,660 community submitted regex patterns...
-2
example
Python
match
Submitted by
anonymous
-
10 years ago
-2
eee
Python
no description available
Submitted by
anonymous
-
10 years ago
-2
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
-
10 years ago
-2
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>
-
10 years ago
-2
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
-
10 years ago
-2
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
-
10 years ago
-2
Check syntax port ACL VNG
ECMAScript (JavaScript)
no description available
Submitted by
nguyenvq
-
9 years ago
-2
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
-
9 years ago
-2
UK (Europe) DateTime
ECMAScript (JavaScript)
Validates input to match UK Date Time standard
Submitted by
Bascoder
-
9 years ago
-2
Twitter Date format
ECMAScript (JavaScript)
no description available
Submitted by
hjgabrielsen
-
9 years ago
-2
twitter ids
ECMAScript (JavaScript)
no description available
Submitted by
jaybill
-
9 years ago
-2
twitter usernames
Python
no description available
Submitted by
anonymous
-
9 years ago
-2
filter
Python
no description available
Submitted by
anonymous
-
9 years ago
-2
Word ending with colon
ECMAScript (JavaScript)
no description available
Submitted by
hj
-
9 years ago
-2
find mp3 file
ECMAScript (JavaScript)
find mp3 file embeded in a link
Submitted by
ogerly
-
9 years ago
-2
SQL Comment
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-2
Prosed OFX DateTimeType pattern for v.2.1.1+
Python
no description available
Submitted by
Oleg Sakharov karpuscul@gmail.com
-
9 years ago
-2
Name/Surname
ECMAScript (JavaScript)
Regex to constrain a text to have at least 2 strings. Compatible with 2nd-3rd-Nth names/surnames.
Submitted by
BigL
-
9 years ago
-2
match commas between sets or members, but not inside members.
Python
matches only those commas that are between sets, or between members of a set. does not match commas that are inside members.
Submitted by
Amrit Kohli
-
9 years ago
-2
Validating comma delimited strings for whitespaces & extra commas
ECMAScript (JavaScript)
Validating comma delimited strings for whitespaces & extra commas -- +(,()+){0,}
Submitted by
Cyril Mathew
-
9 years ago
1
...
118
119
120
121
122
...
283
Community Library Entry
0
Regular Expression
Python
r"
(
```
|
`
)
(
python
)?
\s
*
?
\n
?
(
from
\S
+
)?
import
\S
+
(
\n.
*
?
;
)*
\n
(
(
.
*
return
\S
+
```
)
|
(
`return
\S
+
`
)
)
"
gm
Open regex in editor
Description
A regex that matches comments that adhere to the rules of r/ProgrammerHumor
Submitted by
anonymous
-
a year ago