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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 15,220 community submitted regex patterns...
0
Windows File With Double Extension
PCRE2 (PHP >=7.3)
This can be used for threat hunting. It will look for valid file names that have a double extension that can be used to trick people. Ex: Invoice.pdf.exe
Submitted by
Todd A Danko
-
a year ago
0
YouTube link parser
PCRE2 (PHP >=7.3)
Validate an URI to YouTube video.
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
Username (Alphanumeric Only)
PCRE2 (PHP >=7.3)
Alphanumeric Only (Uppercase + Lowercase + Numeric) Not support special character.
Submitted by
yvnt
-
a year ago
0
Password (Numeric, Special Char, Uppercase, Lowercase)
PCRE2 (PHP >=7.3)
Password Regex with minimum contain one Numeric, Special Char, Uppercase, Lowercase
Submitted by
yvnt
-
a year ago
0
Regex range date
PCRE2 (PHP >=7.3)
\b((?:19|20)\d{2})-(0[1-9]|1[0-2])-(0[1-9]|12|3[01])\b
Submitted by
Ziuzhang
-
a year ago
0
Regular expression Regix for Iranian mobile phone numbers
PCRE2 (PHP >=7.3)
Regular expression Regix for Iranian mobile phone numbers
Submitted by
anonymous
-
a year ago
0
strip host port
PCRE (PHP <7.3)
removes port number from URL
Submitted by
pc
-
a year ago
0
Egyptian National ID
ECMAScript (JavaScript)
This validates the components of the Egyptian national ID ... See details (Arabic)
Submitted by
Mahmoud Mostafa
-
a year ago
0
Egyptian Phone Numbers
ECMAScript (JavaScript)
Validate Egyptian phone numbers ... Read More (Arabic)
Submitted by
Mahmoud Mostafa
-
a year ago
(Last modified a year ago)
0
Laughter
ECMAScript (JavaScript)
Matches all laughter like: hahahahhhahahahha hahha ahah lol lolollolll...
Submitted by
Prozilla
-
a year ago
0
exclude square brackets
PCRE2 (PHP >=7.3)
exclude square brackets
Submitted by
tarek
-
a year ago
0
regex for flight policies
PCRE2 (PHP >=7.3)
'nls__Cancellation permitted 03 Hrs before scheduled departure __nls Within 03-72 hrs INR 3,500 or 100% of airfare charge (whichever is lower) nls Before 72 hrs INR 3,000 or 100% of airfare charge (whichever is lower)' this is my string I want everything between nls and nls or nls and INR
Submitted by
anonymous
-
a year ago
0
入门学习
PCRE2 (PHP >=7.3)
。
Submitted by
anonymous
-
a year ago
0
IIC++ Script Parsing Regex
PCRE2 (PHP >=7.3)
Regex for parsing IIC++ script.
Submitted by
Vu Tung Lam
-
a year ago
0
Estrazione numeri scheda mail generali
PCRE2 (PHP >=7.3)
Come da titolo
Submitted by
anonymous
-
a year ago
0
Codegolf stay away from zero
PCRE2 (PHP >=7.3)
Codegolf submission
Submitted by
PlaceReporter99
-
a year ago
(Last modified a year ago)
0
Are* Device
PCRE2 (PHP >=7.3)
Device model Extraction from our client Are*
Submitted by
anonymous
-
a year ago
0
Are* Device (iOS)
PCRE2 (PHP >=7.3)
OS version of the iPhone devices of our client Are*
Submitted by
anonymous
-
a year ago
0
silly radio
PCRE2 (PHP >=7.3)
nuh uh
Submitted by
anonymous
-
a year ago
0
White spaces between two white spaces.
PCRE2 (PHP >=7.3)
White spaces between two white spaces.
Submitted by
jrjmm
-
a year ago
1
...
753
754
755
756
757
...
761
Extracting data from Authorization header
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
[
a
-
zA
-
Z0
-
9
\\
-
_
]
+
)
=
(
(
(
[
"'
]
)
(
(
\\
{2}
)*
|
(
.
*
?
[^
\\
]
(
\\
{2}
)*)
)
\4
)
|
[^
\s
,
]
+
)
[
,[
\s
]
*
]
?
/
mgiu
Open regex in editor
Description
Handful regex for parsing Authorization, WWW-Authenticate etc. headers
Submitted by
Alex Furnica
-
a year ago