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,500 community submitted regex patterns...
0
Remove leading zeros from file names
Python
no description available
Submitted by
anonymous
-
8 years ago
0
Apache up to status
Python
no description available
Submitted by
anonymous
-
8 years ago
0
Match fstab for add noatime and noadirtime
Python
var: grub_opts: 'elevator=noop' name: OPTIMIZ | FSTAB | Set {{ fstab_opts }} replace: dest: /etc/fstab...
Submitted by
anonymous
-
8 years ago
0
For VM - Match on grub if elevator=noop is present or not
Python
name: OPITMIZ | GRUB | Set DISK Scheduler a elevator=noop lineinfile: dest: /etc/default/grub regexp: '^(GRUB_CMDLINE_LINUX_DEFAULT=(?!.elevator=noop).)\"' line: '\1 elevator=noop"' backrefs: yes...
Submitted by
Pintax
-
8 years ago
0
sort3
Python
no description available
Submitted by
anonymous
-
8 years ago
0
Check a date in an invoice
Python
no description available
Submitted by
anonymous
-
8 years ago
0
()
Python
no description available
Submitted by
anonymous
-
8 years ago
1
Siebel Id
Golang
no description available
Submitted by
anonymous
-
8 years ago
0
Exclude free emails
Python
no description available
Submitted by
anonymous
-
8 years ago
0
MAC address
Python
6 pairs of hexadecimal characters separated by either 5 dashes, or 5 colons, or no separators at all. Mixture of separators not allowed.
Submitted by
anonymous
-
8 years ago
0
find system identifiers/account (uuid, NetBios, etc.)
Python
uuid, Windows Accounts (NetBios), etc.
Submitted by
anonymous
-
8 years ago
0
identify service accounts
Python
identify service accounts by common nomenclature types
Submitted by
Goran Biljetina
-
8 years ago
1
Full URLs (by dpmontero.es)
Python
Get all URLs: www.lapagina.com pagina.com http://www.lapagina.com http://pagina.com https://www.lapagina.es
Submitted by
anonymous
-
8 years ago
1
Extract all telephones in text
Python
Find all telephones in text: 968123123 968 123 123 968.123.123 968 12 12 12
Submitted by
anonymous
-
8 years ago
0
PostfixParserMinimal
Python
no description available
Submitted by
anonymous
-
8 years ago
0
PostfixParser
Python
Full regex for failed sendings
Submitted by
anonymous
-
8 years ago
0
textdom处理
Python
no description available
Submitted by
anonymous
-
8 years ago
0
apt list Version 2
Python
no description available
Submitted by
anonymous
-
8 years ago
0
apt list --installed
Python
extract the package name and version name from the apt list --installed command
Submitted by
anonymous
-
8 years ago
0
URL query param
Python
A solution for capture set/unset/catch a value of param query of URLs. Here is a example code that applies this pattern in JS, but JS doesn't have support to lookbehind.
Submitted by
Rafael Laurindo
-
8 years ago
1
...
95
96
97
98
99
...
125
Community Library Entry
0
Regular Expression
Python
r"
^
(
(
^
|
(?<!
^
)
\\
.
)
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
){4}
(
/
(
3
[
0
-
2
]
|
2
[
0
-
9
]
|
1
[
0
-
9
]
|
[
1
-
9
]
)
)
$
"
Open regex in editor
Description
Grabs an IPv4 address, and if it has a CIDR slash notation, then grab that too.
Submitted by
dboyd42
-
3 years ago
(Last modified a year ago)