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 14,180 community submitted regex patterns...
1
Nome articolo
PCRE (PHP <7.3)
Matcha il nome di un articolo (primo carattere, almeno 2 numeri=
Submitted by
DD
-
9 years ago
1
image.ext check
PCRE (PHP <7.3)
regexp for match images extension (png,jpg,jpeg,gif)
Submitted by
dummy
-
9 years ago
1
matching value of html src attribute
PCRE (PHP <7.3)
matching value of html src attribute
Submitted by
junkuos
-
9 years ago
1
Log entry Regex
PCRE (PHP <7.3)
no description available
Submitted by
KP
-
9 years ago
1
daily 204
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
webui
PCRE (PHP <7.3)
webui test
Submitted by
Stelsy
-
9 years ago
1
How to document a Regex? Example 2
PCRE (PHP <7.3)
How to document a Regex? Example 2: added documentation using (?#)
Submitted by
Thomas
-
9 years ago
1
How to document a regex? Example 1
PCRE (PHP <7.3)
How to document a regex? Example 1: undocumented Regex which works with my test string
Submitted by
Thomas
-
9 years ago
1
Credit Card finder
PCRE (PHP <7.3)
Captures credit card looking sequence of digits Luhn validation remains required as a complement.
Submitted by
OP
-
9 years ago
5
URL
PCRE (PHP <7.3)
URL Description from Dr. M. G. @ Brookes
Submitted by
anonymous
-
9 years ago
0
TCP/UDP port number
PCRE (PHP <7.3)
validates TCP/UDP port number (1..65535)
Submitted by
sanchox
-
9 years ago
1
AutoDateRegex
PCRE (PHP <7.3)
Regex for date for example in saved reports (01m-1y) beginning of last month Format -> dmy
Submitted by
Mayer@netgo.org
-
9 years ago
1
vx
PCRE (PHP <7.3)
sv
Submitted by
cv
-
9 years ago
1
PHPfrance soustraction d'une chaîne
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
fixer
PCRE (PHP <7.3)
no description available
Submitted by
t
-
9 years ago
-2
strip text enclosed in parentheses that does not match any keyword(s)
PCRE (PHP <7.3)
strip or remove parentheses enclosed text - including the parentheses itself - only if the enclosed text does not contain any of the FULL keyword(s). Leave all parentheses enclosed text if it contains any keyword(s) listed in the regex string. Uses negative lookahead and \b for determining word boun...
Submitted by
marie bacuno
-
9 years ago
1
CSS instructions
PCRE (PHP <7.3)
Find everything between {}
Submitted by
anonymous
-
9 years ago
2
Password Enforcement Pattern -- trailing pattern
PCRE (PHP <7.3)
This RegEx was posted on a Ruby site as one for enforcing password pattern. I added {8,32} to limit the length of the password, even though I realize no one has passwords longer than that. Rules: at least 1 digit, 1 special character (as defined), 1 upper case and 1 lower case character, between 8 a...
Submitted by
Dave Phillips
-
9 years ago
1
help?
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Test
PCRE (PHP <7.3)
Tralala
Submitted by
Tralala
-
9 years ago
1
...
674
675
676
677
678
...
709
Phone number for all countries
2
Regular Expression
.NET 7.0 (C#)
@"
^
(?<code>
\+
?
\d
{1,3}
)
[
-
\s
]
{0,}
(?<number>
\(
?
\d
{3}
\)
?
[
-
\s
]
{0,}
\d
{3}
[
-
\s
]
{0,}
\d
{2}
[
-
\s
]
{0,}
\d
{2}
)
$
"
gm
Open regex in editor
Description
Phone number for all countries. Valid symbols: ( ), -, whitespace
Submitted by
Alexander Smirnov
-
a year ago