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,100 community submitted regex patterns...
2
test
Python
no description available
Submitted by
anonymous
-
9 years ago
2
Regex for Chemical Compounds
Python
no description available
Submitted by
Haiming Zhao
-
9 years ago
2
match those lines whose first n chars contains 1+ non numeric
Python
1100582367|SDFDSFDSFDSFDSFDF GBC213WREW|RWEFSDFSDF 1100582377|DSFDSFDSFDSF 2NDG.S.D BIKADSFDSFDSFNO.421 1100582387|SDFSDFSDFDSF
Submitted by
sid
-
9 years ago
2
Port validator
Python
Validates port numbers from 1 to 65535
Submitted by
Agustín Bouillet
-
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
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
2
Ansible Host Var checking
Python
We had an issue where the "hosts=some_var" value could cause mass deployments if the wrong value was passed through. Specifically a comma with nothing surrounding it (i.e. "hosts=,"). This regex will allow us to fail when certain characters are present.
Submitted by
anonymous
-
8 years ago
2
lottery data picker
Python
for azlottoapi
Submitted by
anonymous
-
4 years ago
2
IpAddress
Python
Ensure the ip address format is correct
Submitted by
aaa
-
4 years ago
2
Replace dotnet assembly versions
Python
Replaces both VB & C# AssemblyInfo files.
Submitted by
ankostis
-
3 years ago
(Last modified 3 years ago)
2
Extract parts of a URL on Python
Python
Extract parts of a URL on Python
Submitted by
dixanms
-
3 years ago
2
Lua Enhanced: +=
Python
Adds += to Lua.
Submitted by
anonymous
-
3 years ago
1
...
101
102
103
104
105
Community Library Entry
2
Regular Expression
Python
r"
^
(?:
2
[
0
-
4
]
[
0
-
9
]
|
25
[
0
-
5
]
|
1
?
[
0
-
9
]
?
[
0
-
9
]
)
[
.
]
(?:
2
[
0
-
4
]
[
0
-
9
]
|
25
[
0
-
5
]
|
1
?
[
0
-
9
]
?
[
0
-
9
]
)
[
.
]
(?:
2
[
0
-
4
]
[
0
-
9
]
|
25
[
0
-
5
]
|
1
?
[
0
-
9
]
?
[
0
-
9
]
)
[
.
]
(?:
2
[
0
-
4
]
[
0
-
9
]
|
25
[
0
-
5
]
|
1
?
[
0
-
9
]
?
[
0
-
9
]
)
$
"
gm
Open regex in editor
Description
Ensure the ip address format is correct
Submitted by
aaa
-
4 years ago