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 520 community submitted regex patterns...
0
Cron Syntax
Java 8
This checks the syntax for CRON
Submitted by
Till Hummel
-
2 years ago
0
FullName_regex
Java 8
2135
Submitted by
anonymous
-
2 years ago
0
XAML invert Grid.Column and Grid.Row to Grid.Row and Grid.Column
.NET 7.0 (C#)
Inverts the 2 attributes
Submitted by
anonymous
-
2 years ago
0
Guid parser
.NET 7.0 (C#)
Guid parser
Submitted by
anonymous
-
2 years ago
0
Illegal characters for directory name
Java 8
Pattern matches to all illegal characters in directory name. Can be useful for normalizing the folder name before creating it
Submitted by
Vlad Yevtushenko
-
2 years ago
0
Nepali phone number regex
.NET 7.0 (C#)
(\+977)?9\d{8}
Submitted by
anonymous
-
2 years ago
0
时间
Java 8
时间
Submitted by
旧信
-
2 years ago
0
Fixed Email Regex (emailregex.com)
Java 8
An email regex that allows for capitals after the final dot (ie. TEST@GMAIL.COM)
Submitted by
anonymous
-
2 years ago
0
No leading or trailing spaces
.NET 7.0 (C#)
No leading or trailing spaces
Submitted by
anonymous
-
2 years ago
0
Ipv4 with optional port
.NET 7.0 (C#)
ipv4 with optional port
Submitted by
anonymous
-
2 years ago
0
Match all filenames in any URL including those with ANSI escaped characters (dotNET version)
.NET 7.0 (C#)
Match all filenames in any URL including those with ANSI escaped characters (dotNET version)
Submitted by
The Fourth Bird
-
2 years ago
(Last modified 2 years ago)
0
lat cyr letters
Java 8
only lat and cyr letters
Submitted by
anonymous
-
2 years ago
0
LinkedIn Profile Url
Java 8
LinkedIn Profile Url
Submitted by
Morons
-
2 years ago
0
Instagram Profile Url Test
Java 8
Testing all known Variations of Instagram Profile Url's
Submitted by
CryptoCode
-
2 years ago
0
Email - Works 99% close to oficial Standards
Java 8
Email - Works 99% close to oficial Standards, even better
Submitted by
CryptoCode
-
2 years ago
0
Match using named groups in .NET (C#)
.NET 7.0 (C#)
Developed for posh-git
Submitted by
marckassay
-
2 years ago
0
RegexNumberDecimal
Java 8
For two digits in regex in decimal places two and allow two digits before that point decimal
Submitted by
anonymous
-
2 years ago
0
Flight Number Regex for Java and Tests
Java 8
A regex string to validate flight number
Submitted by
Jose Sousa
-
2 years ago
0
phone number matcher
Java 8
phone number matcher
Submitted by
anonymous
-
2 years ago
0
Length > 4 chars
Java 8
Accounts for any character 4 times and not 'null'
Submitted by
anonymous
-
2 years ago
1
...
10
11
12
13
14
...
26
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