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 18,040 community submitted regex patterns...
-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
Validate credit card numbers
PCRE (PHP <7.3)
Visa, MasterCard, American Express, Diners Club, Discover, JCB
Submitted by
www.regular-expressions.info/creditcard.html
-
9 years ago
-2
IPv4
Python
allows for all legal IPv4 addresses
Submitted by
anonymous
-
9 years ago
-2
Twitter Date format
ECMAScript (JavaScript)
no description available
Submitted by
hjgabrielsen
-
9 years ago
-2
Expression that does not include a subexpression
PCRE (PHP <7.3)
Pattern that matches all expression that not include a subexpression. The subexpression could be replaced by a string.
Submitted by
aquintas
-
9 years ago
-2
Parse all adresses in href
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Match words in a string
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-2
username in url
PCRE (PHP <7.3)
should start with letter follow by letters and numbers and (-) - zero or more can't start or finish with (-) can't have two or more consecutive (-) char
Submitted by
Ali Azmoude
-
9 years ago
-2
twitter ids
ECMAScript (JavaScript)
no description available
Submitted by
jaybill
-
9 years ago
-2
Select the numeric part of a price following an ascii dollar sign
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
JSON KEY VALUE
PCRE (PHP <7.3)
Get key value in json string
Submitted by
Marcio Paiva Barbosa
-
9 years ago
-2
Date format regex for ddMMMyyyy
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-2
twitter usernames
Python
no description available
Submitted by
anonymous
-
9 years ago
-2
finds the instance of two or more repeating letters
Python
no description available
Submitted by
cp0153
-
9 years ago
-2
checklists item
Python
checklists item
Submitted by
Tobias Hochgürtel
-
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
Mathematical Expressions
PCRE (PHP <7.3)
ValidatesMathematical Expressions. Ignores whitespace. Includes parenthesis matching.
Submitted by
Jeremy Friesen
-
9 years ago
-2
HTML <script> regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
5
6
7
8
9
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
[
0
-
9
]
|
[
1
-
9
]
[
0
-
9
]
|
[
1
-
9
]
[
0
-
9
]
[
0
-
9
]
)
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago