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 18,000 community submitted regex patterns...
0
Filename from path
PCRE (PHP <7.3)
sample string /shared/logs/NONPR/btlp006249/wls/8.1/P/logs/applications/usageMeter-webservice-1.0.log
Submitted by
anonymous
-
8 years ago
0
get folder from link
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
exclude sub path names
PCRE (PHP <7.3)
helper rule for: to combine black and whitelist expressions this one acts as blacklist
Submitted by
anonymous
-
8 years ago
0
Lab2-1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Shorten Names: Use the positive lookahead ?= to match groups of that represent last names and first letters of the first name.
PCRE (PHP <7.3)
no description available
Submitted by
mglezsauri@hotmail.com
-
8 years ago
1
extract username from windows domain\user
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
IPv4 address
PCRE (PHP <7.3)
matches valid ipv4 addresses
Submitted by
anonymous
-
8 years ago
0
Shorten Names: Abbreviate everything before and after DE or DEL
PCRE (PHP <7.3)
no description available
Submitted by
mglezsauri@gmail.com
-
8 years ago
0
Match Date strings in email body
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Match array parenthesis (without internal parentheses) and replace to square brackets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Lockbox Sätze #2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Lockbox Sätze
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Trim leading zeroes in numbers 012.210 => 12.21
PCRE (PHP <7.3)
Trim leading zeroes 012.210 => 12.21 .002300 => .0023
Submitted by
FAy
-
8 years ago
0
Mercedes-Benz redirection rules
PCRE (PHP <7.3)
Redirect a model to a new page, any language, any country. Desktop and mobile website. You might need to remove backslash in Umbraco redirect file
Submitted by
anonymous
-
8 years ago
0
Trim string
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Match Apache log line
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Replace Array to Square Brackets with TableIdentifier situation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
VID file prognose
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
-1
Extract AppleScript Handler Info: Name, Parameters, Tags, Comments
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
...
612
613
614
615
616
...
900
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(?>
(
de
\/
|
en
\/
)
)?
news
\/
newsroom
\/
news
\/
article
\/
(
.
*
)?
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago