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...
0
TNEW Strong Password - 8 character limit
ECMAScript (JavaScript)
restricts passwords to 8+ characters
Submitted by
anonymous
-
10 years ago
2
Country calling codes
PCRE (PHP <7.3)
Parses countries list from https://countrycode.org/
Submitted by
anonymous
-
10 years ago
1
a-zA-Z + 0-9 + [!$%&?]
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Name Validation
PCRE (PHP <7.3)
Start with capital letter. Allowed special characters '(Apostrophe) -(hyphen) .(dot) (space) and can not end with -(Hyphen)
Submitted by
Venu Nimmagadda
-
10 years ago
2
CSS Minimizer
PCRE (PHP <7.3)
Takes any valid CSS and minimizes it, removing comments and whitespace. Can be called with something like PHP's preg_replace() to dynamically minimize css files.
Submitted by
skoskie
-
10 years ago
-2
Match words in a string
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
str with whitespace not starting with space
Python
no description available
Submitted by
anonymous
-
10 years ago
1
C-Syle If Statement to Excel
ECMAScript (JavaScript)
no description available
Submitted by
nomloc
-
10 years ago
0
Not Empty String
PCRE (PHP <7.3)
Match a not-empty string. A string with only spaces or no characters is an empty-string. When match something, mathc all the string with the exception of the eventually space at the and
Submitted by
Luca
-
10 years ago
2
Получение числа, которым заканчивается строка
PCRE (PHP <7.3)
no description available
Submitted by
summer_rain
-
9 years ago
2
Match at least 2-letters (international)
ECMAScript (JavaScript)
RegExp to match that user has entered at least 2-letters (including international letters) in a field
Submitted by
anonymous
-
9 years ago
1
dutch zipcode with named matching
PCRE (PHP <7.3)
no description available
Submitted by
Eelke van den Bos
-
9 years ago
2
regex 1 or more json array
PCRE (PHP <7.3)
no description available
Submitted by
me
-
9 years ago
1
Italian Fiscal Code [Codice fiscale]
ECMAScript (JavaScript)
Codice fiscale italiano
Submitted by
Italo
-
9 years ago
1
ipv4 IP addressses, capturing private ranges
PCRE (PHP <7.3)
Capture 0.0.0.0-255.255.255.255 IP address octets. Capture private ranges, such as '169.254.' and '10.'
Submitted by
OnlineCop
-
9 years ago
1
decimal number validation
PCRE (PHP <7.3)
accepts 1; 1.1; 112315.23135
Submitted by
MS
-
9 years ago
2
Find any URL with no trailing slash
ECMAScript (JavaScript)
Not perfect, but better than none.
Submitted by
oneglory
-
9 years ago
0
date format regex for MM/dd/yyyy in javascript
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
username
PCRE (PHP <7.3)
Letras, Ñ, acentos, números, guión y barra baja
Submitted by
diegosanz
-
9 years ago
1
Date format
ECMAScript (JavaScript)
date should be in format YYYYMMDDHHMMSS
Submitted by
Prashant Kumar Dubey
-
9 years ago
1
...
47
48
49
50
51
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
(?=
.
*
?
[
A
-
Z
]
)
(?=
.
*
?
[
a
-
z
]
)
(?!
.
*
?
[
=?<>()'"
\/\&
]
)
.
{8,20}
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
11 years ago