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 2,300 community submitted regex patterns...
2
domain for Google Data Studio (re2 dialect)
Golang
Matches subdomain, domain and top level in a field that contains a urls. https://www.whatever.you.want ---> whatever.you.want
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
-
7 years ago
2
lottery data picker
Python
for azlottoapi
Submitted by
anonymous
-
3 years ago
2
IpAddress
Python
Ensure the ip address format is correct
Submitted by
aaa
-
3 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
-
2 years ago
2
Lua Enhanced: +=
Python
Adds += to Lua.
Submitted by
anonymous
-
2 years ago
2
Python regular expression to detect any type of group link and private channel in Telegram
Python
You can use this regular expression to identify any type of Telegram link. It doesn't matter whether it is t.me or telegram.me. Links including "joinchat" are also accepted.
Submitted by
Telegram : T.me/TinyPY
-
a year ago
(Last modified a year ago)
2
Mikrotik firewall logs
Golang
Matching for mikrotik ROS 7 Used in promtail and grafana
Submitted by
anonymous
-
10 months ago
(Last modified 10 months ago)
1
Regular expression to remove all puncutation
Python
Removes all of the puncutation present inlcuding \n,\t,\r
Submitted by
Abhinav Gupta
-
10 years ago
2
postgesql
Python
no description available
Submitted by
anonymous
-
9 years ago
2
Palabras en mayúscula que no están después de un punto
Python
no description available
Submitted by
anonymous
-
10 years ago
2
Parasite subtitles
Python
no description available
Submitted by
Andrey Spiridonov
-
10 years ago
2
python regex
Python
no description available
Submitted by
anonymous
-
10 years ago
2
Capture 5 words either side of a match string
Python
no description available
Submitted by
anonymous
-
10 years ago
2
Match 5 forward slashes
Python
Match 5 forward slashes
Submitted by
anonymous
-
9 years ago
2
IPv4 Validator
Python
no description available
Submitted by
dannyo
-
9 years ago
2
SED
Python
no description available
Submitted by
anonymous
-
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
-
8 years ago
2
Port validator
Python
Validates port numbers from 1 to 65535
Submitted by
Agustín Bouillet
-
8 years ago
1
2
3
4
5
6
...
115
Code du travail articles
0
Regular Expression
Python
r"
(
[
LRD
]
(?:
\.
)?
[
0
-
9
]
{3,6}
-
[
0
-
9
]
{1,3}
-
?
[
0
-
9
]
{0,2}
)
(
à
[
LRD
]
?
(
\.
)?
[
0
-
9
]
{3,6}
-
[
0
-
9
]
{1,3}
-
?
[
0
-
9
]
{0,2}
)?
"
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago