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 5,780 community submitted regex patterns...
2
composer package
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
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
2
Find any URL with no trailing slash
ECMAScript (JavaScript)
Not perfect, but better than none.
Submitted by
oneglory
-
9 years ago
2
i18 language lines extraction
ECMAScript (JavaScript)
Extracts lines with i18 prefix from text
Submitted by
anonymous
-
9 years ago
2
Prime numbers test
Python
Given a number N represented by its unary form N(1), when RegEx doesn't match N(1), N is prime
Submitted by
LexDias
-
9 years ago
2
youtube link + id + <a>
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
Match 'words' with internal punctuation retained
Python
Matches words without external punctuation but with internal punctuation.
Submitted by
anonymous
-
9 years ago
2
calibre book parse
Python
no description available
Submitted by
anonymous
-
9 years ago
2
anyword plus word
ECMAScript (JavaScript)
no description available
Submitted by
7 HJ
-
9 years ago
2
URI without Trailing Slash
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
src of img tag
ECMAScript (JavaScript)
get contents of src attribute
Submitted by
me
-
9 years ago
2
identity
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
Messages.properties language file validator
ECMAScript (JavaScript)
no description available
Submitted by
spec4u.net
-
9 years ago
2
Telefoonnummer
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
Find PHP-like variables
ECMAScript (JavaScript)
Search a string for PHP-like variables starting with $, containing an unlimited number of non-whitespace characters and ending with a word boundary of any kind
Submitted by
Pascal Vorwerk
-
9 years ago
2
flex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
Franklin Regex
Python
Testing Franklin related regex matching cases.
Submitted by
Arthur
-
9 years ago
2
Ultimate URL/IP validator
ECMAScript (JavaScript)
Validates most types of URL's and IP addresses. NOTICE! remove "?" after first non-capturing group to forse check protocol.
Submitted by
anonymous
-
9 years ago
2
capture balisephp
ECMAScript (JavaScript)
it's to use to get all tags. not easy to implement because some link in php with ? or > can make trouble to get the closure ?>
Submitted by
simon
-
9 years ago
2
US zip Code
ECMAScript (JavaScript)
US zip Code
Submitted by
Aloke
-
9 years ago
1
...
274
275
276
277
278
...
289
Looking for valid phone number
0
Regular Expression
Python
r"
(
\d
{1}
)
[
-
]
(
\d
{3}
)
[
-
]
(
\d
{3}
)
[
-
]
(
\d
{4}
)
"
gm
Open regex in editor
Description
This locates a valid phone number in a list of phone numbers
Submitted by
Dandaps
-
a year ago