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 2,840 community submitted regex patterns...
0
regex for comments .py/.js/.c++
PCRE2 (PHP >=7.3)
my first regex about comments in c++, js, python
Submitted by
anonymous
-
2 years ago
0
S3 Path with ending .json
Golang
S3 Path with ending .json
Submitted by
Sowmith
-
2 years ago
0
Obtener nombre
PCRE2 (PHP >=7.3)
Expresión regular para obtener el nombre de un medicamento desde una pagina del ISP
Submitted by
anonymous
-
2 years ago
0
Pretty URLs: match ugly URL tails
PCRE2 (PHP >=7.3)
Matches: ...foo/bar.php ...foo/bar/ ...foo/bar/index ...foo/bar/index.php ...
Submitted by
DM
-
2 years ago
(Last modified 2 years ago)
0
Indain phone number
PCRE2 (PHP >=7.3)
Indain phone number
Submitted by
anonymous
-
2 years ago
0
Validate url data descriptor
PCRE2 (PHP >=7.3)
For internal purposes
Submitted by
Daniel Bañobre
-
2 years ago
(Last modified 2 years ago)
0
Validates class binded url parameter
PCRE2 (PHP >=7.3)
For internal purposes
Submitted by
Daniel Bañobre
-
2 years ago
(Last modified 2 years ago)
0
Match token and optional convert to type in string
.NET 7.0 (C#)
I use this in a JSON template together with JObject data to create a JSON string
Submitted by
rkleinkromhof
-
2 years ago
0
cloze_list_depth_1
PCRE2 (PHP >=7.3)
Submitted by
anonymous
-
2 years ago
0
Email validator for multiple email service providers
PCRE2 (PHP >=7.3)
It is for checking the validity of the submitted email.
Submitted by
anonymous
-
2 years ago
0
Locate HTML tags name, attributes
PCRE2 (PHP >=7.3)
A basic regex formula to find out the HTML tag name and its attributes that are available within HTML tag.
Submitted by
anonymous
-
2 years ago
0
calender thingy messing arround and things
PCRE2 (PHP >=7.3)
some descripty thingy
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
day of week sorter type thingy
PCRE2 (PHP >=7.3)
rando desc
Submitted by
anonymous
-
2 years ago
0
IP Table Parse IPID
.NET 7.0 (C#)
Match 1 is the IPID
Submitted by
Tres Little
-
2 years ago
0
url
PCRE2 (PHP >=7.3)
여기서 리스트 받아서 . 있는지 검사해서 또 빼삼
Submitted by
anonymous
-
2 years ago
0
Visa card regex
PCRE2 (PHP >=7.3)
Visa card regex
Submitted by
anonymous
-
2 years ago
0
MAC address
PCRE2 (PHP >=7.3)
MAC address supporting various formats
Submitted by
anonymous
-
2 years ago
0
首行首个单词
PCRE2 (PHP >=7.3)
匹配首行首个单词
Submitted by
anonymous
-
2 years ago
0
hostname to django CORS_ALLOWED_ORIGIN_REGEXES
PCRE2 (PHP >=7.3)
hostname to django CORS_ALLOWED_ORIGIN_REGEXES
Submitted by
anonymous
-
2 years ago
0
Stack Overflow 73802045
PCRE2 (PHP >=7.3)
Regex to remove blank lines at the end of a CSV
Submitted by
Aaron Meese
-
2 years ago
1
...
103
104
105
106
107
...
142
lsblk-output-regex
1
Regular Expression
Golang
`
(?m)
^
NAME="
(?P<name>
(?P<disk>
[
a
-
z
]
+
)
(?P<partition>
\d
*
)
)
"
\s
FSTYPE="
(?P<fstype>
\w
*
)
"
\s
MOUNTPOINT="
(?P<mountpoint>
[
\w
\[\]
/
]
*
)
"
\s
SIZE="
(?P<size>
\d
*
)
"
\s
TYPE="
(?P<type>
\w
+
)
"
$
`
gm
Open regex in editor
Description
Trying to adapt this regex to support LVM.
Submitted by
anonymous
-
3 years ago