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
US Date Format to ISO using regex substitution
PCRE2 (PHP >=7.3)
Convert a US Date format to ISO
Submitted by
Joe Kruger
-
3 years ago
1
SQL comments Big Query
Golang
SQL comments on Big Query
Submitted by
anonymous
-
3 years ago
1
Match Between HTML Tags
PCRE2 (PHP >=7.3)
Match everything within the given HTML tag
Submitted by
William Wilkins
-
3 years ago
1
Break PANEL webcomic
PCRE2 (PHP >=7.3)
regex that wrap the Panel section with $& so it will display like a webcomic codepen link: https://codepen.io/mangadrawing123/pen/oNwavgQ?editors=0110
Submitted by
anonymous
-
3 years ago
1
CSV CIDR subnets
ECMAScript (JavaScript)
Comma separated CIDR network addresses
Submitted by
Glenn
-
3 years ago
1
Don't match numbers longer than 5 length
Python
using ^ and $
Submitted by
anonymous
-
3 years ago
1
UK style date
PCRE2 (PHP >=7.3)
dd/mm/yyyy
Submitted by
Russ Ferriday, from Docusign templates
-
3 years ago
1
US Style Date - from Docusign template
PCRE2 (PHP >=7.3)
mm/dd/yyyy
Submitted by
Russ Ferriday, based on customer docusign template
-
3 years ago
1
Rècupère les différents liens de nitro discord
PCRE2 (PHP >=7.3)
Rècupère les différents liens de nitro discord
Submitted by
M1000.fr#0008
-
3 years ago
1
Rècupère les différents liens d'invitation de serveur discord
PCRE2 (PHP >=7.3)
Rècupère les différents liens d'invitation de serveur discord
Submitted by
M1000.fr#0008
-
3 years ago
1
ew
PCRE2 (PHP >=7.3)
ee
Submitted by
anonymous
-
3 years ago
1
Parse CISCO NEXUS 9xxx/5xxxx show inventory output w/o | json modifier
Python
Parse CISCO NEXUS 9xxx/5xxxx show inventory output w/o | json modifier. Nexus 9xxxx don't have the json output modifier. It's a LINUX based os, so | json would fork a json binary which doesn't exist
Submitted by
skalef
-
3 years ago
(Last modified 3 years ago)
1
Email
PCRE2 (PHP >=7.3)
Regex simples para verificação de email
Submitted by
anonymous
-
3 years ago
1
Fetch "text A (text B)" or "text A (text B (text C))"
PCRE2 (PHP >=7.3)
How do I extract then some text A, some text B and some text C if they are in the format some text A ( some text B ( some text C)) Please mind that in some cases may be only some text A ( some text B)...
Submitted by
anonymous
-
3 years ago
1
/(# .*)(&𝗐𝖾𝗀𝗈)/𝗀𝗆
PCRE2 (PHP >=7.3)
/(# .*)(&𝗐𝖾𝗀𝗈)/𝗀𝗆
Submitted by
anonymous
-
3 years ago
1
Valid RGB color value
ECMAScript (JavaScript)
Pattern for matching actually valid RGB values. validate separator (mixing spaces and commas between values is not valid) validate if comma is used as separator if alpha channel is set validate units (mixing percentage with integers is not valid) extract r, g, b, a, separator and unit with named gr...
Submitted by
BorisTB
-
3 years ago
(Last modified 3 years ago)
1
Match Windows filename in any path but only C: D: and F: drives
Java 8
Used for Service Discovery in vRealize Operations. Use case is a service that can be installed on any path, but we only want to discover and monitor services installed on standard production drives (C, D or F). Filename will always be the same.
Submitted by
Various
-
3 years ago
1
Backtracking Test
PCRE2 (PHP >=7.3)
Submitted by
farhan
-
3 years ago
1
ss001
Python
Rep
Submitted by
anonymous
-
3 years ago
1
hashtag
ECMAScript (JavaScript)
gfhgfhghfg
Submitted by
anonymous
-
3 years ago
1
...
796
797
798
799
800
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
https
?
\:\/\/
(
\w
+
)
(
\-
?
[
A
-
Za
-
z
]
+
[^
-.
\/
]
){0,3}
(
[
\.
A
-
Za
-
z
]
+
[
-
]
?
[
A
-
Za
-
z
]
+
){0,5}
(
\/
[
\w
+
]
[^
\#\*\:\<\>\\\?
|
]
{0,}
){0,}
[^
\.\#\*\:\<\>\\\?
|
]
$
/
gm
Open regex in editor
Description
SharePoint On-Premise Validator
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)