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
Find all words with Character and specific string and end in y
Python
Supply an appropriate regular expression which will find all words which have the character ‘a’ in them, then 0 or more characters later have the string “epe”, then 0 or more characters later have the character “y”. The “y” character must occur AT THE END of the word in question, but the first ‘a’ d...
Submitted by
anonymous
-
5 years ago
0
accurate Base64 validation
PCRE (PHP <7.3)
Invalid entries still can be interpreted, e.g. encode(0xAB) => qw== however invalid encoding qx== still can be correctly decoded: ...
Submitted by
anonymous
-
5 years ago
0
3 digits surrounded by blanks
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
sample
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
IP Adresse
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
point 2
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
Valid OAuth scope
PCRE (PHP <7.3)
Validates a common format for OAuth scopes.
Submitted by
anonymous
-
5 years ago
0
Valid Date Finder
PCRE (PHP <7.3)
FInds a valid date string in the formats mm-dd-yy or mm/dd/yy, as well as mm-dd-yyyy and mm/dd/yyyy.
Submitted by
anonymous
-
5 years ago
0
Test for occurrences of XCTest @testable annotation usage
PCRE (PHP <7.3)
There may be circumstances when you need to determine if there is any usage of XCTest's @testable annotation in unit test cases. One usage of this regex could be for a custom SwiftLint rule to require or disallow usage of @testable
Submitted by
anonymous
-
5 years ago
0
Password Validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Name w/ unicode
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Get all ampersands, but omits the ampersands that are part of any HTML entities.
PCRE (PHP <7.3)
Get all ampersands, but omits the ampersands that are part of any HTML entities.
Submitted by
anonymous
-
5 years ago
0
Full ISO 8601 Duration without lookaround
PCRE (PHP <7.3)
Without lookaround, this regular expression also accepts P and PT as valid duration strings. If your library supports lookaround, I recommend that you use Full ISO 8601 Duration with lookaround (also in the library) instead, which will also reject P and PT.
Submitted by
anonymous
-
5 years ago
0
Full ISO 8601 Duration with lookaround
PCRE (PHP <7.3)
With lookaround, this regular expression will reject P and PT as invalid duration strings. If your library does not support lookaround, I recommend that you use Full ISO 8601 Duration without lookaround (also in the library) instead, with the caveat that you will need to verify the string is not P o...
Submitted by
anonymous
-
5 years ago
0
Email Regex
PCRE (PHP <7.3)
https://emailregex.com/
Submitted by
anonymous
-
5 years ago
0
tach va group nhom
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Insert CDATA on SVG text fields
ECMAScript (JavaScript)
For each that it founds, it inserts a <![CDATA[ ... ]]>
Submitted by
anonymous
-
5 years ago
0
Telephone number : strict international section, flexible local section for wider international and allows spaces for visual formatting
ECMAScript (JavaScript)
Telephone number strict international section :- starting with '+' or '00' flexible local section for wider international and allows spaces for visual formatting Close enough for many requirements. Tweak to match your country/circumstances better. ...
Submitted by
PS
-
5 years ago
0
Paris
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Brazil Phone Validator
PCRE (PHP <7.3)
(\([0-9]{2}\)\s?[0-9]{4,5}-?[0-9]{3,4})|([0-9]{10,11})|([0-9]{2}\s?[0-9]{8,9})
Submitted by
anonymous
-
5 years ago
1
...
233
234
235
236
237
...
902
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
(
(
(
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
.
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
|
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
[
(
]
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
[
)
]
)
\.
[
>,<,>=,<=,==,<,!=
]
\.
(
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)
|
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
[
(
]
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
[
)
]
)
)+
(
OR
|
AND
|
{}
)
)*
/
Open regex in editor
Description
RGX lj-ARRAY
Submitted by
LJARRAY
-
8 years ago