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
URL regex
PCRE (PHP <7.3)
a universal URL regex with different groups for different parameters
Submitted by
anonymous
-
6 years ago
1
Find all html-tags except for some
PCRE (PHP <7.3)
Find all html-tags except for some that you want to preserve for any reason. I use this to remove all tags except those I want to keep.
Submitted by
anonymous
-
6 years ago
1
ПОДРОСТ
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Regex to match any JSON value with fewer steps possible
PCRE (PHP <7.3)
If you find... any JSON value that should be matched but isn't, any JSON value that should NOT be matched but is or simply a way to match the values with fewer steps... please, let me know.
Submitted by
anonymous
-
6 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
-
6 years ago
1
...
766
767
768
769
770
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(?:
https
?
:
)?
(?:
\/\/
)?
(?:
[
0
-
9A
-
Z-
]
+
\.
)?
(?:
youtu
\.
be
\/
|
youtube
(?:
-nocookie
)?
\.
com
\/
\S
*
?
[^
\w\s
-
]
)
(
(?!
videoseries
)
[
\w
-
]
{11}
)
(?=
[^
\w
-
]
|
$
)
(?!
[
?=&+%
\w
.-
]
*
(?:
[
'"
]
[^
<>
]
*
>
|
<
\/
a>
)
)
[
?=&+%
\w
.-
]
*
/
igm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago