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
1
Regular Expression
PCRE (PHP <7.3)
/
[
0
-
9a
-
f
]
{8}
-
[
0
-
9a
-
f
]
{4}
-4
[
0
-
9a
-
f
]
{3}
-
[
0
-
9a
-
f
]
{4}
-
[
0
-
9a
-
f
]
{12}
|
[
0
-
9a
-
f
]
{12}
4
[
0
-
9a
-
f
]
{19}
/
ig
Open regex in editor
Description
Matches either 01234567-89ab-4def-0123-456789abcdef or 0123456789ab4def0123456789abcdef
Submitted by
Semx11
-
8 years ago