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,320 community submitted regex patterns...
1
H265 excluding 10 Bit
Python
Used in Radarr for a custom H265 format but excluding 10 Bit because my TV doesn't support it
Submitted by
ScottM
-
3 years ago
1
Traefik - MDW to add slash
Golang
Used in Traefik to add slash
Submitted by
juranir.santos@gmail.com
-
3 years ago
1
Números de telefones brasileiros
Python
Permite filtrar e capturar telefones brasileiros seguindo o modelo: Código internacional (+55) caso fornecido DDD (XX) Telefone fixo (XXXX-XXXX) ou telefone móvel com ou sem o "9" inicial (9XXXX-XXXX)
Submitted by
https://github.com/leonsp95
-
3 years ago
1
phone
Python
This regex is decision phone number
Submitted by
anonymous
-
3 years ago
1
Test end
Python
Test end
Submitted by
anonymous
-
3 years ago
1
Subreddit finder r/regex
Python
Finds the names of subreddits in a text. Group 1 is the subreddit name.
Submitted by
CoderGreensparrow
-
3 years ago
1
CFF-definitions.orcid
Python
Pattern for validating a definitions.orcid value in the Citation File Format (CFF)
Submitted by
Stephan Druskat, Jurriaan H. Spaaks
-
3 years ago
1
link findall
Python
Submitted by
Kerem Göksu
-
3 years ago
1
lsblk-output-regex
Golang
Trying to adapt this regex to support LVM.
Submitted by
anonymous
-
3 years ago
1
yyyy/mm/dd
Golang
^(((\d{3}[1-9]|\d{2}[1-9]\d|\d[1-9]\d{2}|[1-9]\d{3})(\/)(((0[13578]|1[02])(\/)(0[1-9]|[12]\d|3[01]))|((0[469]|11)(\/)(0[1-9]|[12]\d|30))|(02(\/)(0[1-9]|[1]\d|2[0-8]))))|(((\d{2})(0[48]|2468|13579)|((0[48]|2468|3579)00))(\/)02(\/)29))$ Match year/month/day format. e.g: 2020/02/29 [match] 2021/02/29 ...
Submitted by
mayl0421
-
3 years ago
1
get homepage url from full url
Python
get homepage url from full url
Submitted by
Suraj Shrestha
-
3 years ago
1
SQL comments Big Query
Golang
SQL comments on Big Query
Submitted by
anonymous
-
3 years ago
1
Don't match numbers longer than 5 length
Python
using ^ and $
Submitted by
anonymous
-
3 years ago
1
Parse CISCO NEXUS 9xxx/5xxxx show inventory output w/o | json modifier
Python
Parse CISCO NEXUS 9xxx/5xxxx show inventory output w/o | json modifier. Nexus 9xxxx don't have the json output modifier. It's a LINUX based os, so | json would fork a json binary which doesn't exist
Submitted by
skalef
-
3 years ago
(Last modified 3 years ago)
1
ss001
Python
Rep
Submitted by
anonymous
-
3 years ago
1
Parse URLs
Python
A regular expression to parse URLs. Complete with comments.
Submitted by
D. Torres
-
3 years ago
1
Remove HTML tags and comments
Python
Remove HTML tags and comments
Submitted by
Smit Patel
-
3 years ago
1
Parse Kubernetes Resource URI Paths
Golang
This regex extracts Kubernetes Resource URIs. Copyright 2021 Mathew Wicks Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License....
Submitted by
Mathew Wicks
-
3 years ago
1
Monkaa Dataset
Python
Parses Monkaa dataset filenames and extracts all the relevant labels
Submitted by
IP
-
3 years ago
1
match INTEGER val in range [0 ,32767] for unsigned val and [-32768,-1] for signed val
Python
"(^-?)(3276[0-8]$|327[0-5]?[0-9]$|320-6?[0-9]$|3[0-1]?[0-9]?[0-9]?[0-9]$|[0-2]?[0-9]?[0-9]?[0-9]?[0-9]$)"gm
Submitted by
issam-seghir
-
3 years ago
(Last modified 3 years ago)
1
...
102
103
104
105
106
...
116
Community Library Entry
1
Regular Expression
Rust
r"
(?P<function>
def
\s
+
(?P<function_name>
\w
+
)
\s
*
\(
(?P<parameters>
(?:
.
|
\n
)*
?
)
\)
:
\s
*
(?:
\n
[
\t
]
+
.
*
?
)*
\n
)
"
g
Open regex in editor
Description
Gets the python function declarations
Submitted by
anonymous
-
2 years ago