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
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 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 17,940 community submitted regex patterns...
-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
1
Apache Access Log pattern
Python
Apache Web server log file format following the standard
Submitted by
Basil Tungekar
-
9 years ago
1
Error Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Address email
ECMAScript (JavaScript)
no description available
Submitted by
JS
-
9 years ago
0
TNEW Strong Password - 8 character limit
ECMAScript (JavaScript)
restricts passwords to 8+ characters
Submitted by
anonymous
-
9 years ago
2
Country calling codes
PCRE (PHP <7.3)
Parses countries list from https://countrycode.org/
Submitted by
anonymous
-
9 years ago
1
a-zA-Z + 0-9 + [!$%&?]
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 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
-
9 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
-
9 years ago
-2
Match words in a string
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
str with whitespace not starting with space
Python
no description available
Submitted by
anonymous
-
9 years ago
1
C-Syle If Statement to Excel
ECMAScript (JavaScript)
no description available
Submitted by
nomloc
-
9 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
-
9 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
...
47
48
49
50
51
...
897
Ex2Tema1
0
Regular Expression
PCRE2 (PHP >=7.3)
/
[
A
-
Z
]
[
a
-
zAZ
]
*
,
[
a
-
z
]
+
[
0
-
9
]
+
(
\/
.
)*
(
\.
|
\?
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago