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 13,980 community submitted regex patterns...
1
fail2ban 0.8.13-1 Debian 8 Jessie Roundcube 1.1.5+dfsg.1-1~bpo8+1
Python
Filter authentication fails from /var/log/roundcube/error
Submitted by
Daniel BaƱobre Dopico el profe
-
8 years ago
1
CI-Bol
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Create directories
PCRE (PHP <7.3)
Regex to make sure directories have a "real" name and not code use for scripting/
Submitted by
anonymous
-
8 years ago
1
X user Y response
PCRE (PHP <7.3)
grep logs with X username and Y response code
Submitted by
anonymous
-
8 years ago
1
Reg1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Reg2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
(am|sg){0,1}(invoice){0,1}(\d*){0,1}
PCRE (PHP <7.3)
(am|sg){0,1}(invoice){0,1}(\d*){0,1}
Submitted by
dat.dao
-
8 years ago
0
Get shortcode
PCRE (PHP <7.3)
Get shortcode
Submitted by
khiconit
-
8 years ago
2
Regex Shortcode
PCRE (PHP <7.3)
Check shortcode
Submitted by
khiconit
-
8 years ago
1
old
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
from word to word
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Remove inside ()
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Rex: Domain name plus colon plus integer
PCRE (PHP <7.3)
Done while modifying Remote MX Wizard( Getting MX records from user input)
Submitted by
Levyb
-
8 years ago
1
Adding binary numbers
PCRE (PHP <7.3)
Verifies whether two binary numbers a and b are equal to their sum c; Input expected in form a + b = c
Submitted by
Bob Weinand
-
8 years ago
1
RemoveItemNote
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
regular-expression
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Qam Mega-bytes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Localiza E-mail
Python
Log de postfix, localiziando e-mail (from e to).
Submitted by
Danilo Kishi
-
8 years ago
2
.*(\d+).* Selects last number
Python
no description available
Submitted by
anonymous
-
8 years ago
1
Common EU Phonenumber Formats
PCRE (PHP <7.3)
*Optional Country code (+xxx|00xxx) *Zone code with optional parenthesis for leading zero. 2-5 digit zone code, with different spacing. *Optional hyphen (optional spaces before and|or after) *Max service number 7 digits. different groups with optional spaces, 2-5 digits per group
Submitted by
Mattias
-
8 years ago
1
...
495
496
497
498
499
...
699
IP Address
2
Regular Expression
PCRE (PHP <7.3)
/
^
(?:
[
0
-
9
]
{1,3}
\.
){3}
[
0
-
9
]
{1,3}
$
/
Open regex in editor
Description
IPv4 Address Input
Submitted by
anonymous
-
8 years ago