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 8,000 community submitted regex patterns...
0
fraction
Python
mixed or simple fraction with whitespace, optional dash as separator
Submitted by
anonymous
-
8 years ago
1
V8 Stack
ECMAScript (JavaScript)
Parses the V8 StackFrames
Submitted by
anonymous
-
8 years ago
1
Address
Python
Regex for extracting address with pincode.
Submitted by
Irfan Patel
-
8 years ago
0
Simple 'Good Enough' Javascript Regex (ASCII Only)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Complex Javascript Regex (With Non ASCII Support)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Complex Javascript Regex (ASCII Only)
ECMAScript (JavaScript)
no description available
Submitted by
datatypevoid
-
8 years ago
1
Match only ONE letter after a number
ECMAScript (JavaScript)
no description available
Submitted by
padre629
-
8 years ago
1
Get the hash of an URL
ECMAScript (JavaScript)
This ER is nice to get a hash from URL, I used today to pass the name of an bootstrap TAB and set the focus when the page loads. I did it using the Replace of JavaScript.
Submitted by
Marcelo Sabadini
-
8 years ago
1
Strip unicode u
Python
no description available
Submitted by
anonymous
-
8 years ago
1
MultiTag Best Regex
ECMAScript (JavaScript)
Now include regex inside {{ }}
Submitted by
Ricardo Feitoza
-
8 years ago
2
EclipseKeyword_2
Python
no description available
Submitted by
Rashmin
-
8 years ago
1
Hebrew pronunciation
ECMAScript (JavaScript)
no description available
Submitted by
Michael Sharpe
-
8 years ago
1
Filter public functions
Python
It filters out the body of all public functions.
Submitted by
Sachin
-
8 years ago
1
IPv4 list comma separated
ECMAScript (JavaScript)
Matches IPv4 address list separated by comma (,). Does not match an incomplete list (e.g. 192.168.1.0,)
Submitted by
anonymous
-
8 years ago
1
nlc variation
Python
no description available
Submitted by
yasaman
-
8 years ago
0
Phone Number
ECMAScript (JavaScript)
For phone numbers with country code(Optional)followed by 10 digit phone number.
Submitted by
Kshama
-
8 years ago
1
non-word chars and underscore
ECMAScript (JavaScript)
no description available
Submitted by
webDevRich
-
8 years ago
0
Number Ranges
ECMAScript (JavaScript)
Select number ranges dynamically
Submitted by
@yosefh
-
8 years ago
1
Image Candidate String
ECMAScript (JavaScript)
no description available
Submitted by
J. Porter
-
8 years ago
1
HDFS Audit Log Parser
Python
no description available
Submitted by
Vance Wei
-
8 years ago
1
...
325
326
327
328
329
...
400
Match fstab for add noatime and noadirtime
0
Regular Expression
Python
r"
^
(
.
*
ext
[
2
-
4
]
|
.
*
xfs
)
(
\s
+
)
(
(
(
[
a
-
zA
-
Z
\=\-
]
+
)
(?!
noatime,nodireatime
)
)
.
+
)
"
gm
Open regex in editor
Description
var: grub_opts: 'elevator=noop'
name: OPTIMIZ | FSTAB | Set {{ fstab_opts }} replace: dest: /etc/fstab backup: yes regexp: '^(.*ext[2-4]|.*xfs)(\s+)((([a-zA-Z=-]+)(?! {{ fstab_opts }})))(\s+)([0-9].+)' replace: '\1 \2 \3,{{ fstab_opts }} \6 \7' tags: optimization,disk,fstab
Submitted by
anonymous
-
7 years ago