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...
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
country name
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Does not match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Get src in img
PCRE (PHP <7.3)
Get src in img
Submitted by
Andy
-
9 years ago
1
hex string
PCRE (PHP <7.3)
match 00aabbcc... or 00:aa:bb:cc...
Submitted by
minji
-
9 years ago
1
Extract names of XML attributes that have values
PCRE (PHP <7.3)
Extracts attribute names from an XML file and presents them as a simple list. Affects only the attributes that have values. Ignores the "parent" attributes (that have no values but have nested attributes).
Submitted by
O.Khilkevych / D.Mrachkovsyi
-
9 years ago
1
YouTube ID Capture
PCRE (PHP <7.3)
Works on "*youtube.com" urls, as well as "youtu.be" urls
Submitted by
Lucanos
-
9 years ago
1
MM-DD-YYYY - Javascript Date with some validation
ECMAScript (JavaScript)
This is a regular expression for date in javascript. It validates the month between 01-12 (double digits only). It validates the day between 01-31 (double digits only). And enforces 4 digit year (no validation for range).
Submitted by
Andrew Leonenko
-
9 years ago
1
regex words
PCRE (PHP <7.3)
get all words related to regex
Submitted by
anonymous
-
9 years ago
1
Web page URL
PCRE (PHP <7.3)
Validates an URL of a web page
Submitted by
Heinrich Reimer
-
9 years ago
1
filter range
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
apache log parser
Python
no description available
Submitted by
Claudio Borges
-
9 years ago
1
Empty string test
PCRE (PHP <7.3)
Regular for testing empty strings for validation purpose
Submitted by
anonymous
-
9 years ago
1
Camel case string splitter
PCRE (PHP <7.3)
Splits CamelCase single string into separate strings. Can be used for transforming CamelCase to snake_case. Also works with numbers and capital letter shortcuts (e.g SomeWTFVariable1).
Submitted by
Nicolas
-
9 years ago
1
json comment - first attempt
Python
no description available
Submitted by
Mark
-
9 years ago
1
java
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Address Match
Python
no description available
Submitted by
Awk
-
9 years ago
1
Check Date + time (DD/MM/YYYY HH:MM)
ECMAScript (JavaScript)
no description available
Submitted by
Mikael Georges
-
9 years ago
1
Alpha + Underscore
ECMAScript (JavaScript)
no description available
Submitted by
Sergio de la Garza
-
9 years ago
1
Xml/html regex
PCRE (PHP <7.3)
Common regex for use with xml/html files
Submitted by
wonzbak
-
9 years ago
1
...
850
851
852
853
854
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
(
[
1
-
9
]
|
[
1
-
9
]
[
0
-
9
]
|
[
1
-
9
]
[
0
-
9
]
[
0
-
9
]
|
[
1
-
9
]
[
0
-
9
]
[
0
-
9
]
[
0
-
9
]
){4}
\d
{25}
[
0
-
9
]
{1}
\d
{12}
(
[
1
-
9
]
|
[
1
-
9
]
[
0
-
9
]
|
[
1
-
9
]
[
0
-
9
]
[
0
-
9
]
)
$
/
gm
Open regex in editor
Description
Validação de código de barras boleto padrão "FEBRABAN - Federação Brasileira de Bancos".
Submitted by
Rafaella Cintra
-
2 years ago
(Last modified a year ago)