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,020 community submitted regex patterns...
0
Aufg4
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
AutoHotkey Syntax Error
PCRE (PHP <7.3)
This RegEx works nicely in Sublime Text syntax definitions (probably in other places, like Atom, too) without any modification – you might just need to properly escape backslashes. AutoHotkey does not provide a character number (column number) for its errors, but most places expect it as group #3, ...
Submitted by
SALZKARTOFFEEEL
-
6 years ago
1
matching-search-queries-at-end
Python
This regex will match search queries formatted in 3 specific patterns.
Submitted by
anonymous
-
6 years ago
0
E-mail
PCRE (PHP <7.3)
adresses mail ^[a-z0-9.-]+@[a-z0-9.-]{2,}\.[a-z]{2,4}$
Submitted by
anonymous
-
6 years ago
0
Mot de passe
PCRE (PHP <7.3)
1 lettre, 1 chiffre, 1 caractère spécial au moins Chaine comprise entre 8 et 15 caractères ^(?=.[A-Za-z])(?=.\d)(?=.[&-+!$@%])([&-+!*$@%\w]{8,15})$
Submitted by
anonymous
-
6 years ago
0
COM
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
IP addresses
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Clearswift Mail Gateway
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
GET THE USERNAME OF THE EMAIL
PCRE (PHP <7.3)
Recovers the part before @ For example: teste@testregex.com The regex will catch teste
Submitted by
anonymous
-
6 years ago
1
REMOVE LAST DIGITS
PCRE (PHP <7.3)
Removes the last 4 digits from a expression
Submitted by
anonymous
-
6 years ago
1
VALIDATE CELLPHONE - BRAZIL
PCRE (PHP <7.3)
MASK TO VALIDATION, WHEN YOU NEED THE AREA CODE OPEN. TO A CELLPHONE WITH 9 OR 8 DIGITS + AREA CODE OF 2 DIGITS 11 987654321 -> IT WILL GET 98765
Submitted by
anonymous
-
6 years ago
0
NANPA TN Including X11 without 555
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
Youtube Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Excel to DB
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Validaing numbers other than 0
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Regex to validate dates (validate leap year)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Regex para validar data (trata ano bissexto)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
VENCIMENTO DD/MM/YYYY A|a|e|TO|HASTA DD/MM/YYYY
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
PRODUCAO MM/YYYY A|a|e|TO|HASTA MM/YYYY
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
PRODUCAO DD/MM/YYYY A|a|e|TO|HASTA DD/MM/YYYY
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
...
450
451
452
453
454
...
901
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
\d
{4}
-
\d
{2}
-
\d
{2}
\s\d
{2}
:
\d
{2}
:
\d
{2}
)
\s
(
\w
{1,}
)
\s
(
[
A
-
Za
-
z0
-
9.,
-
_:@;
]
*
)
\s
(
[
A
-
Za
-
z0
-
9.,
-
_:@;
]
*
)
\s
(
[
A
-
Za
-
z0
-
9.,
-
_:@;+"&
]
*
)
\s
(
[
A
-
Za
-
z0
-
9.,
-
_:@;+"&
]
*
)
\s
(
.
*
)
\s
(
DELIVERED
|
NONDELIVERED
|
ONBOX
|
SPLITMESSAGE
|
NOTDELIVERED
|
DEFERRED
|
PMM
)
\s
(
.
*
)
\s
(
.
*
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago