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,240 community submitted regex patterns...
0
Timestamp recognizer, extracts hours minutes seconds
Python
Recognizes time-of-day timestamps Time range is from 0:00:00 through 23:59:59 Seconds are optional Named match components for hours, minutes, seconds
Submitted by
Paul Reiber
-
8 years ago
0
sent from my <phone>
Python
for catching phone generated message such as "sent from my"
Submitted by
anonymous
-
8 years ago
0
IPv4 address with description
Python
Match an IPv4 address and its description delimited by a 'newline' paragraph
Submitted by
edoz90
-
8 years ago
0
Facebook embedded video
Python
no description available
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
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
apt list Version 2
Python
no description available
Submitted by
anonymous
-
8 years ago
0
textdom处理
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
PostfixParserMinimal
Python
no description available
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
0
find system identifiers/account (uuid, NetBios, etc.)
Python
uuid, Windows Accounts (NetBios), etc.
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
Exclude free emails
Python
no description available
Submitted by
anonymous
-
8 years ago
0
()
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
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
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
Apache up to status
Python
no description available
Submitted by
anonymous
-
8 years ago
1
...
6
7
8
9
10
...
112
Community Library Entry
3
Regular Expression
.NET 7.0 (C#)
@"
\w
+
\(
[^
()
]
*
(
(
(?'parenthesesPair'
\(
)
[^
()
]
*
)+
(
(?'-parenthesesPair'
\)
)
[^
()
]
*
)+
)*
(?(parenthesesPair)
(?!
)
)
\)
"
gm
Open regex in editor
Description
Match any layer bracket pair
Submitted by
Yakumo Yukari
-
3 years ago