Regular Expressions 101

Sponsors

Library entries

0
pcre2

Get HTML attribute

Get HTML attribute with /" inside
Submitted by anonymous - 15 days ago
0
pcre2

IP address with port

Match ip address with port
Submitted by PARNKOT - 17 days ago
0
pcre2

Env Var

Regex to match Env Variable whole line
Submitted by anonymous - 17 days ago
0
python

MAC Address

Simple MAC address match/parsing expression
Submitted by cwichel - 18 days ago

log4j log parsing

Vote

2

Regular Expression
pcre

/
(?<time>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2},\d{3}) (?<level>\S*) (?<processor>\S*) (?<serviceLayer>\S*):(?<lineNumber>\d*) - (?<mess>.*)
/
g

Description

Loading markdown...
Submitted by Robin Kearney - 8 years ago