Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 2,280 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
barcode or barcode list
Python
no description available
Submitted by
anonymous
-
8 years ago
2015-08-10 17:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
emailfider
Python
no description available
Submitted by
anonymous
-
8 years ago
2015-10-25 15:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Sass variable assignation
Python
find every Sass variabile assignation
Submitted by
Giorgia Bonini
-
8 years ago
2015-11-03 10:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Verify Amateur Radio Call Sign meets ITU Format
Python
no description available
Submitted by
Neil Johnson
-
8 years ago
2016-01-16 04:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Facebook embedded video
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-09-28 09:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
7 years ago
2016-10-04 01:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
apt list --installed
Python
extract the package name and version name from the apt list --installed command
Submitted by
anonymous
-
7 years ago
2016-10-05 18:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
apt list Version 2
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-10-05 20:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
textdom处理
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-10-20 04:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
PostfixParser
Python
Full regex for failed sendings
Submitted by
anonymous
-
7 years ago
2016-10-20 11:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
PostfixParserMinimal
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-10-20 11:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
identify service accounts
Python
identify service accounts by common nomenclature types
Submitted by
Goran Biljetina
-
7 years ago
2016-10-26 23:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
find system identifiers/account (uuid, NetBios, etc.)
Python
uuid, Windows Accounts (NetBios), etc.
Submitted by
anonymous
-
7 years ago
2016-10-26 23:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
7 years ago
2016-10-27 09:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Exclude free emails
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-10-27 22:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
()
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-11-03 13:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Check a date in an invoice
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-11-03 16:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
7 years ago
2016-11-04 16:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
sort3
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-11-04 15:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
7 years ago
2016-11-08 10:54
1
2
3
4
...
114