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 2,240 community submitted regex patterns...
2
Password Validation
Python
Checks for password containing at least 1 Upper case, 1 lower case, 1 digit and 1 special character, all together with a length of at least 8. (This pattern allows any order of the requried elements, other than what was been distributed here before)
Submitted by
Tom Spielvogel
-
9 years ago
2
test
Python
no description available
Submitted by
anonymous
-
9 years ago
1
MAC address capturing
Python
Captures MAC addressess in any format: aa bb cc dd ee ff aa-bb-cc-dd-ee-ff aa:bb:cc:dd:ee:ff aabb.ccdd.eeff aabbccddeeff
Submitted by
Gilian
-
9 years ago
2
Regex for Chemical Compounds
Python
no description available
Submitted by
Haiming Zhao
-
9 years ago
1
Tag Text
Python
Match text between html tags
Submitted by
Si
-
9 years ago
1
Find multiline links a HTML tag
Python
Find multiline links a HTML tag
Submitted by
CyberLight
-
9 years ago
1
regular expression to match word starting with space
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Replace Czech accents, Part 1
Python
The result of this put as input into part 2.
Submitted by
Premysl Karbula
-
9 years ago
1
url
Python
no description available
Submitted by
oniro
-
8 years ago
2
Search for attributes
Python
A search attribues in a image tag.
Submitted by
Agustín Bouillet
-
8 years ago
2
SASS variables parser
Python
Parse SASS variables returning its variable name and properties.
Submitted by
Agustín Bouillet
-
8 years ago
2
exp1
Python
no description available
Submitted by
anonymous
-
8 years ago
1
html image tags
Python
no description available
Submitted by
Thien Ho
-
8 years ago
2
EclipseKeyword_2
Python
no description available
Submitted by
Rashmin
-
8 years ago
2
AliasMatch
Python
no description available
Submitted by
anonymous
-
8 years ago
2
Find PHP object variables
Python
Find PHP object variables, and replace them with (array)brackets.
Submitted by
The Milkman
-
8 years ago
2
Adress regex
Python
no description available
Submitted by
Ali
-
8 years ago
2
Password (4 Classes)
Python
1 Uppercase 1 lower case 1 number 1 not a number or letter
Submitted by
anonymous
-
8 years ago
2
IPv6 detection
Python
It's too large to match with all which seems like an IPv6. It's not perfect, but it's detects more valid IPv6 than some others regex.
Submitted by
Ajabep
-
8 years ago
2
.*(\d+).* Selects last number
Python
no description available
Submitted by
anonymous
-
8 years ago
1
...
6
7
8
9
10
...
112
Community Library Entry
0
Regular Expression
.NET 7.0 (C#)
@"
^
(?=
(?<http>
(?:
https
?
:
\/\/
){1}
(?:
www
\.
)?
)?
)
(?
(?=
\k<http>
?
(?<ipaddr>
(?:
\d
{1,3}
\.
){3}
\d
{1,3}
(?:
\:
\d
{1,5}
)?
)
)
\k<http>
?
\k<ipaddr>
(?:
\.
[
\w
]
{1,9}
)?
|
\k<http>
(?:
[
\w
]
\.
?
){1,255}
\.
[
\w
]
{1,9}
)
(?:
\/
.
*
)?
$
"
gm
Open regex in editor
Description
Can be used to validate on URL's.
Submitted by
anonymous
-
a year ago