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...
1
windows file name from full path
Golang
Find all string matches with dir, one or more subdir, file name with optional extension. Common example with all capturing groups included: C://ProgramFiles/MyDir1/myDir2/file.ext
Submitted by
anonymous
-
4 years ago
1
Unix file with full path
Golang
Find all string matches with dir, one or more subdir, file name with optional extension. Common example with all capturing groups included: ../../dir/SubDir1/SubDir2/file.ext ...
Submitted by
anonymous
-
4 years ago
1
linkedin
Python
no description available
Submitted by
anonymous
-
4 years ago
1
Pre/Post Title Handler for LegendMUd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
TSN Tivo Lite
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
TSN Lite Zapper
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
TSN Lite DVR
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
Remove Duplicates
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
First character only
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Brazilian money - Reais
PCRE (PHP <7.3)
Validate Brazilian monetary values. Can be easily addapted to other countries.
Submitted by
anonymous
-
4 years ago
1
lnav nginx access_log parser (for a slightly extended variation of combined log format)
PCRE (PHP <7.3)
For our own format with real ip (from proxy forwarded for header) and upstream response times: log_format combined_w_timing '$http_x_forwarded_for [$remote_addr] - $remote_user [$time_local] ' '"$request" $status $body_bytes_sent ' '"$http_referer" "$http_use...
Submitted by
anonymous
-
4 years ago
1
FSM-Parser_SophosUTM-OpenVPN-ConnectionTerminated-Username
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Remove the AMD64
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
2line
Python
no description available
Submitted by
anonymous
-
4 years ago
1
Redis output
Python
no description available
Submitted by
anonymous
-
4 years ago
1
phone numbers with text
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
test NSRL v0
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
RankTest
PCRE (PHP <7.3)
Test of acceptable ranks regex.
Submitted by
anonymous
-
4 years ago
1
Regular Expression Sanitising User Names (answering https://stackoverflow.com/q/63393726/1397131)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Match multiple strings in text in any worder
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
...
293
294
295
296
297
...
900
Community Library Entry
0
Regular Expression
Python
r"
(
84
)
2
(
38
|
7
|
96
|
54
|
09
|
04
|
91
|
16
|
06
|
75
|
15
|
18
|
7
|
9
|
3
|
56
|
5
|
71
|
74
|
90
|
14
|
9
|
13
|
36
|
6
|
61
|
8
|
63
|
51
|
77
|
0
|
69
|
19
|
73
|
97
|
93
|
4
|
6
|
39
|
5
|
8
|
37
|
59
|
34
|
1
|
60
|
1
|
05
|
70
|
35
|
55
|
08
|
03
|
59
|
76
|
10
|
57
|
11
|
07
|
33
|
99
|
94
)
(
\d
{7,8}
)
"
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago