Regular Expressions 101

Sponsors

Library entries

0
pcre

User-Agent

Parser
Submitted by sn3kdev - 2 days ago
0
python

Editoria gamecoin

Capturar editorias do site gamecoin
Submitted by anonymous - 3 days ago
0
pcre

Parcing2

aa
Submitted by anonymous - 4 days ago
0
pcre

trim phone number

trim phone number
Submitted by anonymous - 5 days ago
0
golang

log timestamp

extract time stamp from log entry
Submitted by anonymous - 5 days ago
0
python

Get All inst of Characters Name

Standard Script format tv
Submitted by SummerRay - 9 days ago
0
python

Tool Call

f
Submitted by anonymous - 13 days ago
0
python

Bit00:sadf::saf

Bit00:sadf::saf 提取
Submitted by anonymous - 13 days ago
0
pcre

NMEA after timestamps

Picks up (most?) NMEA messages.
Submitted by David Harrison - 14 days ago
-1
python

pokernow starting new hand

asdf
Submitted by michael - 19 days ago
0
python

Skillshare matcher regex

Skillshare matcher regex
Submitted by anonymous - 23 days ago

AEM - Author & Publisher - error.log - RegEx for SPLUNK fields

Vote

0

Regular Expression
pcre2

/
(?P<error_date>^[\w\/\.]+)\s+(?P<error_time>[\w\/\.\:]+)\s+\*(?P<error_level>\w+)\*\s+\[((?P<error_ip>[\d\.]+)\s+\[(?P<error_thread_id>.+)\]\s+(?P<error_request_method>\w+)\s+(?P<error_urlpath>.+)\s+(?P<error_req_protocol>.+)|(?P<error_thread>.+?))\]\s+(?P<error_message>.+[\n]?.+)
/
gm

Description

Loading markdown...
Submitted by Robert Wunsch (wunsch@adobe.com) - 4 months ago