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...
0
Mikrotik Regex Firewall Log Golang
Golang
Regex para uso com Grafana Loki Log feito via Mangle, com prefix $user do freeradius.
Submitted by
Vitor Abbade
-
3 years ago
0
JavaScript Function w/ Recusive Parenthasis JavaScript Function w/ Recusive Parenthasis JavaScript Function w/ Recusive Parenthasis
PCRE2 (PHP >=7.3)
Regex that allows the following: foo(bar).qax(foo(bar).qax(foo(bar).qax(foo(bar).qax()))) Its sorta hard to make out whats going on, so I will just say it: ...
Submitted by
jD3V
-
3 years ago
0
Jerem
PCRE2 (PHP >=7.3)
To match specific name based on season code
Submitted by
anonymous
-
3 years ago
-1
Convert numbers-only YYYYMMDD date to dash delineated YYYY-MM-DD
PCRE2 (PHP >=7.3)
Convert numbers-only YYYYMMDD date to dash delineated YYYY-MM-DD
Submitted by
anonymous
-
3 years ago
0
markdown headings with underscore
PCRE2 (PHP >=7.3)
it still makes a few false positives
Submitted by
charliecalvert
-
3 years ago
0
Url handling
Python
Simple regex to split url
Submitted by
Hangfish
-
3 years ago
0
Replace anything not a letter or a hyphen
PCRE2 (PHP >=7.3)
Make folder/url safe use with eg sed: echo 'My fancy $thing' | sed 's//-/g' results in My-fancy--thing
Submitted by
anonymous
-
3 years ago
0
find between
PCRE (PHP <7.3)
find between
Submitted by
anonymous
-
3 years ago
0
find between 2 strings
PCRE2 (PHP >=7.3)
find between 2 strings
Submitted by
anonymous
-
3 years ago
0
Select links comment
PCRE2 (PHP >=7.3)
I have a lot of code that looks like this: ...
Submitted by
charliecalvert
-
3 years ago
0
Mez regex #1
ECMAScript (JavaScript)
This is the #1 regex used in Mez
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Bracket finder ( Mez regex #2 )
ECMAScript (JavaScript)
This is the #2 regex used in Mez
Submitted by
anonymous
-
3 years ago
0
Mez regex #3
ECMAScript (JavaScript)
This is the #3 regex used in Mez
Submitted by
anonymous
-
3 years ago
0
完形填空答案提取
Python
提取并分组: 题号 ABCD四个答案
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Drealth
PCRE2 (PHP >=7.3)
just a normal text to the drealth emojis
Submitted by
NobreHD
-
3 years ago
0
匹配邮箱
Golang
[A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+) `
Submitted by
Lintao
-
3 years ago
-1
1
PCRE2 (PHP >=7.3)
1
Submitted by
anonymous
-
3 years ago
-1
213
PCRE2 (PHP >=7.3)
12312
Submitted by
anonymous
-
3 years ago
0
Normal URL
PCRE2 (PHP >=7.3)
Validates that all necessary parts of a "normal" domain are there (scheme, subdomain, secondary-level domain, top-level domain) and allows for additional subdirectories. Does not work for options like "mailto: example@email.com" or anything that does not stick to a typical web address URL.
Submitted by
Alexa J.
-
3 years ago
0
BIN ELO - 2022
ECMAScript (JavaScript)
Used to validate credit cards from ELO flag.
Submitted by
Searched in internet
-
3 years ago
1
...
816
817
818
819
820
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
[
a
-
z
]
[
a
-
z0
-
9+
\-
.
]
*
:
(
\/\/
[^
\/
?#
]
+
)?
)?
(
(?:
\/
[
a
-
z
]
{4}
\/
(
[
a
-
z
]
{2}
\-
[
a
-
z
]
{2}
)
\/
)
(
[
a
-
z0
-
9
\-
._~%!$&'()*+,;=:@
\/
]
*
)
)
(?:
\?
?
)
(
(
[
a
-
z0
-
9
\-
._~%!$'()*+,;:@
]
+
)
(?:
\=
)
(
[
a
-
z0
-
9
\-
._~%!$'()*+,;:@
\/
]
*
)
)*
(
&
*
)
/
gm
Open regex in editor
Description
Working on a regex to extract path and query params
Submitted by
anonymous
-
3 years ago