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
ПОДРОСТ
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
SessionM Target Parsing (WIP)
PCRE (PHP <7.3)
Work in progress Regex transform for parsing SessionM targeting config from YAML
Submitted by
anonymous
-
6 years ago
1
Youtube Regex
PCRE (PHP <7.3)
no description available
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
1
REMOVE LAST DIGITS
PCRE (PHP <7.3)
Removes the last 4 digits from a expression
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
matching-search-queries-at-end
Python
This regex will match search queries formatted in 3 specific patterns.
Submitted by
anonymous
-
6 years ago
1
IP regex
PCRE (PHP <7.3)
Match IP address that works fine on an acl rule for a Squid config file : acl aclname src ip-address/mask ... # clients IP address [fast] acl aclname src addr1-addr2/mask ... # range of addresses [fast] acl aclname dst [-n] ip-address/mask ... # URL host's IP address [slow] acl aclname localip ip-ad...
Submitted by
anonymous
-
6 years ago
1
Asterisk Channel
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
UNIMARC embedded to standard subfield
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
Replace quotas in ODI code excluding Beabshell substitutions
PCRE (PHP <7.3)
This example helps the ODI developer to generate code. If some parts of the dynamic code arrive in KM via Option, it is difficult to process it in Beanshell. And more so it is difficult if the code part contains Beanshell-substitution. This example shows how to replace e.g. quotes in the code and d...
Submitted by
Naeel Maqsudov
-
6 years ago
1
Expression
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
Verifica correttezza partita IVA europea
PCRE (PHP <7.3)
dal formato italiano 2 lettere + 11 cifre: IT01234567890
Submitted by
anonymous
-
6 years ago
1
Starbucks
ECMAScript (JavaScript)
no * before the name
Submitted by
anonymous
-
6 years ago
1
exp
PCRE (PHP <7.3)
exp
Submitted by
anonymous
-
6 years ago
1
Street number
PCRE (PHP <7.3)
Extract the street number and the remainder part from the address
Submitted by
anonymous
-
4 years ago
1
Сельскохозяйственные угодья
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
URL Validator
PCRE (PHP <7.3)
Finds valid URLs (they have to start with "https://")
Submitted by
chris mccoy
-
5 years ago
1
URL matching with HTTP(s) and IPv4 with Port
Python
no description available
Submitted by
anonymous
-
5 years ago
1
Test e-mail format string
Python
Regexp based on https://en.wikipedia.org/wiki/Email_address criteria.
Submitted by
anonymous
-
5 years ago
1
...
235
236
237
238
239
...
902
Community Library Entry
2
Regular Expression
PCRE2 (PHP >=7.3)
/
(?P<host>
\d
{1,3}
.\d
{1,3}
.\d
{1,3}
.\d
{1,3}
)
(
\s
-
\s
)
(?P<user_name>
[
\w
-
]
*
)
(
\s
\[
)
(?P<time>
\w
*
\/
\w
*
\/
\d
{1,4}
:
\d
{1,2}
:
\d
{1,2}
:
\d
{1,2}
\s
-
\d
{1,4}
)
(
\]
\s
\"
)
(?P<request>
.
*
)
(
"
)
/
gm
Open regex in editor
Description
no description available
Submitted by
PepeRG
-
4 years ago