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
Community Patterns
Search among 5,960 community submitted regex patterns...
0
OpenVPN access log
PCRE2 (PHP >=7.3)
This regular expression can be used in SIEM or scripts to extract special fields such as:
Submitted by
EskiSlav
-
2 years ago
(Last modified 2 years ago)
0
Match Root Domain
ECMAScript (JavaScript)
This is meant to match a specific root domain in certain formats. For example, I'm excluding the root domain by itself as that could be what is written in the documentation, but in links, or code, it would usually have a subdomain and protocol attached.
Submitted by
Joseph
-
2 years ago
0
test
PCRE2 (PHP >=7.3)
Testing for sharing
Submitted by
me
-
2 years ago
0
Date match on multiple formats
PCRE2 (PHP >=7.3)
Date match on multiple formats
Submitted by
anonymous
-
2 years ago
0
ISO 8601 date time validation
PCRE2 (PHP >=7.3)
Ref: https://rgxdb.com/r/526K7G5W
Submitted by
anonymous
-
2 years ago
0
javascript regex question
ECMAScript (JavaScript)
问题
Submitted by
anonymous
-
2 years ago
0
0x36210C88C438001A616687456978Aa4d3AdCba35
PCRE2 (PHP >=7.3)
/^(?:[\+-]?\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?:T\s\d|2[0-3])(?:(:?)[0-5]\d)?|24\:?00)(?:[\.,]\d+(?!:))?)?(?:\2[0-5]\d(?:[\.,]\d+)?)?(?:[zZ]|(?:[\+-])(?:[01]\d|2[0-3]):?(?:[0-5...
Submitted by
Nate☬158⚈̥̥̥̥̥̀ᴗ✯0x36210C88C438001A616687456978Aa4d3AdCba35
-
2 years ago
0
0x36210C88C438001A616687456978Aa4d3AdCba35
PCRE2 (PHP >=7.3)
- /^(?:[\+-]?\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?:T\s\d|2[0-3])(?:(:?)[0-5]\d)?|24\:?00)(?:[\.,]\d+(?!:))?)?(?:\2[0-5]\d(?:[\.,]\d+)?)?(?:[zZ]|(?:[\+-])(?:[01]\d|2[0-3]):?(?:[0...
Submitted by
Nate☬158⚈̥̥̥̥̥̀ᴗ✯0x36210C88C438001A616687456978Aa4d3AdCba35
-
2 years ago
0
use in query db( in () )
Golang
int&space to 'int',
Submitted by
anonymous
-
2 years ago
0
Hex Checker
ECMAScript (JavaScript)
Checks if a string contains a hex code
Submitted by
anonymous
-
2 years ago
0
RegEx CarX car_name
ECMAScript (JavaScript)
This one is specifically for car_name column
Submitted by
anonymous
-
2 years ago
0
Twitch Clickable URL Regex
PCRE2 (PHP >=7.3)
I think this is the regex that Twitch uses to determine what is a clickable link on chat.
Submitted by
emongev
-
2 years ago
0
Mimecast - Spam Scan Regex
PCRE2 (PHP >=7.3)
This was put together so that O365 can match headers and move to Microsoft Junk-mail folder instead of using Mimecast User Hold Queue.
Submitted by
anonymous
-
2 years ago
0
Get first value in xml tag
PCRE2 (PHP >=7.3)
/^(label=\")(.+)(" length.*)(\/>)/gm
Submitted by
Stephen
-
2 years ago
0
get .tbpa coins
PCRE2 (PHP >=7.3)
hmm
Submitted by
SrB
-
2 years ago
0
Tên Tiếng Việt
PCRE2 (PHP >=7.3)
Tên Tiếng Việt
Submitted by
anonymous
-
2 years ago
(Last modified 9 months ago)
0
Iran Mobile Regex
ECMAScript (JavaScript)
09...
Submitted by
anonymous
-
2 years ago
0
Extract Span Tag Content
PCRE2 (PHP >=7.3)
Extract Content in SPAN tag
Submitted by
Byron Lai
-
2 years ago
(Last modified 2 years ago)
0
Remove Width & Height Tag from iframe
PCRE2 (PHP >=7.3)
Remove width & height tage from Youtube/Vimeo embed code Useful for implementing responsive design
Submitted by
Mendel Groner
-
2 years ago
0
Exclude Home Page by URL
PCRE2 (PHP >=7.3)
This works in Google Tag Manager regex to exclude the Home Page by URL
Submitted by
anonymous
-
2 years ago
1
...
211
212
213
214
215
...
298
Email validation
-1
Regular Expression
ECMAScript (JavaScript)
/
^
(
(
[^
<>()
\[\]\\
.,;:
\s
@"
]
+
(
\.
[^
<>()
\[\]\\
.,;:
\s
@"
]
+
)*
)
|
(
"
.
+
"
)
)
@
(
(
\[
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
]
)
|
(
(
[
a
-
zA
-
Z
\-
0
-
9
]
+
\.
)+
[
a
-
zA
-
Z
]
{2,}
)
)
$
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago