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
Phone number
PCRE (PHP <7.3)
Regex to group phone numbers.
Submitted by
anonymous
-
5 years ago
0
xplane set value with avandro
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
[DQL] - Comando e Valores
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Stopword liste Voyant til R
PCRE (PHP <7.3)
Opgave 1 - Stopword liste Voyant til R
Submitted by
anonymous
-
5 years ago
0
Stopword liste R til Voyant
PCRE (PHP <7.3)
Opgave 2 - Stopword liste R til Voyant
Submitted by
anonymous
-
5 years ago
0
OS Paths
PCRE (PHP <7.3)
Windows Linux and Web OS Paths checked Regex
Submitted by
anonymous
-
5 years ago
0
Phone regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
UK postcode
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
mongodb_log_locks_v1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Find all words with 5 letters last letter z
Python
Write a regular expression which would find all words which have exactly 5 letters in them, of which the last letter is a "z".
Submitted by
anonymous
-
5 years ago
0
Find all words which have 2 characters, then EITHER OR then POINTER
Python
Write a regular expression to find all words which have the first two characters of "ab", and after that at some point EITHER a "z" or a "y", and then after that at some point an "s". The "s" does not have to be at the end of the word. So the following words are all examples of words which you sho...
Submitted by
anonymous
-
5 years ago
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
1
...
288
289
290
291
292
...
902
Community Library Entry
0
Regular Expression
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}
)
/
gm
Open regex in editor
Description
(([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