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,040 community submitted regex patterns...
1
linux log regex
Python
used to pull Date, time and PID from linux log files
Submitted by
anonymous
-
4 years ago
1
linux log regex
Python
Matches Date & time in group 1, and the PID in group 4. will update to match computer name and user names too when i can.
Submitted by
anonymous
-
4 years ago
1
Photos 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
find hosts in log file
PCRE (PHP <7.3)
finds patterns like ..(phl1|aus2) in the log, trying to find all host names.
Submitted by
anonymous
-
4 years ago
1
Photos 2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
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
...
247
248
249
250
251
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^\d
{2}
.\d
{2}
.\d
{4}
\s\d
{2}
:
\d
{2}
:
\d
{2}
;
(
\d
{1,3}
,
\d
)
;
(
\d
{1,3}
,
\d
)
;
(
\d
{1,3}
,
\d
)
;
(
\d
{3}
,
\d
)
;
(
\d
{1,2}
,
\d
{3}
)
;
(
[
\d
,
]
+
)
;
(
[
\d
,
]
+
)
;
(
[
\d
,
]
+
)
;
(
[
\d
,
]
+
)
;
(
\d
)
;
$
/
gm
Open regex in editor
Description
Christ Elektronic -> long version
Submitted by
Jan Alexander
-
4 years ago