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 14,900 community submitted regex patterns...
1
Product model ID extractor
Python
Extracts a model ID from a product title. Like this: "Автомагнитола ALPINE CDE-100EUB/4S белая" -> "CDE-100EUB" Over 80 tests.
Submitted by
anonymous
-
9 years ago
1
my apache2 access.log regex
PCRE (PHP <7.3)
google.com:80 212.111.203.171 - - [02/Mar/2015:10:27:04 +0000] "GET /css/style.css HTTP/1.1" 304 138 "http://google.com" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36"
Submitted by
marf
-
9 years ago
1
Product model extractor
Python
Extracts a model ID from a product title
Submitted by
Aleksandr Glyzov <aleksandr.glyzov@yandex.ru>
-
9 years ago
1
country name
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
i18 language lines extraction
ECMAScript (JavaScript)
Extracts lines with i18 prefix from text
Submitted by
anonymous
-
9 years ago
1
Bar Number
ECMAScript (JavaScript)
Length of 5 or 7. if 7, it should start with 20.
Submitted by
Chris Roe
-
9 years ago
-2
Mathematical Expressions
PCRE (PHP <7.3)
ValidatesMathematical Expressions. Ignores whitespace. Includes parenthesis matching.
Submitted by
Jeremy Friesen
-
9 years ago
2
TimeFormatParser
PCRE (PHP <7.3)
This allows to the programer to match the time format groups, in a way that allow to discard some parts of the format. E.g. I have a format HhMmSs and i want to ignore the 'Ss' part from the format when I have no Seconds
Submitted by
Fausto A. Guerrero
-
9 years ago
1
GET EMAIL INFO (3)
PCRE (PHP <7.3)
Get Gmail tag, user and domain of an email address. -- Fixed the bug that the label doesn't match if there are an dot on user.
Submitted by
Matías Pizarro González
-
9 years ago
1
Get email info (2)
PCRE (PHP <7.3)
Get Gmail tag, user and domain of an email address. -- Fixed the bug that the label be obligatory
Submitted by
Matías Pizarro González
-
9 years ago
2
Get email info
PCRE (PHP <7.3)
Get Gmail tag, user and domain of an email address
Submitted by
Matías Pizarro González
-
9 years ago
0
Phone numbers
PCRE (PHP <7.3)
PHP
Submitted by
anonymous
-
9 years ago
1
Simple email splitter
PCRE (PHP <7.3)
Split the email and get the user and domain.
Submitted by
Matías Pizarro González
-
9 years ago
0
phone valid
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Phone Number Extraction
PCRE (PHP <7.3)
US numbers only
Submitted by
codedude
-
9 years ago
1
what3words
PCRE (PHP <7.3)
This pattern check three words with a dot separator betwwern words. It use unicode; It is not yest compatible with javascript
Submitted by
tsamaya
-
9 years ago
3
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
Spanish telephone number
ECMAScript (JavaScript)
Teléfonos del territorio de España. Se admiten teléfono de 9 cifras que empiecen por 9, 7 ó 6. Opcionalmente puede tener el prefijo de país siendo válidas las siguientes opciones: (+34) (0034) +34 0034 ...
Submitted by
toyeca
-
9 years ago
1
Validate number in format: +xxxxxxxxxxx
PCRE (PHP <7.3)
Used for number validation in input forms, when number is required to be in international format. You can adjust the required number length by adjusting this part of regex: {6,10}. The bigged the second number, the longer number will pass the match.
Submitted by
Donatas Stončius - donatas@stoncius.lt
-
9 years ago
0
find link to profile in VK html message
ECMAScript (JavaScript)
поиск в тексте всех ссылок на профили пользователей вконтакте. ссылки вида [id12345678|Name]
Submitted by
MixApp
-
9 years ago
1
...
668
669
670
671
672
...
745
phone valid
0
Regular Expression
PCRE (PHP <7.3)
/
^
(?:
(?:
\(
?
(?:
00
|
\+
)
(
[
1
-
4
]
\d\d
|
[
1
-
9
]
\d
?
)
\)
?
)?
[
\-\.\
\\\/
]
?
)?
(
(?:
\(
?
\d
{1,}
\)
?
[
\-\.\
\\\/
]
?
){5,}
)
(?:
[
\-\.\
\\\/
]
?
(?:
#
|
ext
\.
?
|
extension
|
x
)
[
\-\.\
\\\/
]
?
(
\d
+
)
)?
$
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago