Regular Expressions 101

Sponsors

Library entries

0
pcre

Forged scc senders

no description available
Submitted by anonymous - 4 years ago
0
pcre

Test Regex

no description available
Submitted by anonymous - 3 years ago
0
javascript

Check number in calculator

Check number in calculator
Submitted by anonymous - 4 years ago
0
golang

Action Rec

no description available
Submitted by anonymous - 4 years ago
0
pcre

Timestamp - General

no description available
Submitted by anonymous - 4 years ago
0
python

匹配html中多个所需内容

no description available
Submitted by anonymous - 4 years ago
0
python

KBC: Extract ASA Names

no description available
Submitted by anonymous - 4 years ago
0
pcre

cjk

no description available
Submitted by anonymous - 4 years ago
0
pcre

Timestamp - dMMM yyyy HH:mm:ss

no description available
Submitted by anonymous - 4 years ago
0
pcre

Timestamp - yyyy/MM/dd HH:mm:ss

no description available
Submitted by anonymous - 4 years ago
0
pcre

Timestamp - yyyy-MM-dd HH:mm:ss

no description available
Submitted by anonymous - 4 years ago

006 - PaloAlto Threat url CSV

Vote

0

Regular Expression
pcre

/
(?P<pan_log_receive_time>\w{3}\s*\d+\s*\d+:\d+:\d+)\s+(?:[^,]*,){3}(?P<pan_log_type>THREAT),(?P<pan_log_subtype>[^,]*),(?:[^,]*,){2}(?P<pan_log_src>[^,]*),(?P<pan_log_dst>[^,]*),(?:[^,]*,){2}(?P<pan_threat_policy>[^,]*),(?P<pan_threat_srcuser>[^,]*),(?:[^,]*),(?P<pan_threat_app>[^,]*),(?P<pan_threat_vsys>[^,]*),(?P<pan_threat_srczone>[^,]*),(?P<pan_threat_dstzone>[^,]*),(?P<pan_threat_inbound_if>[^,]*),(?P<pan_threat_outbound_if>[^,]*),(?:[^,]*,){4}(?P<pan_log_sport>[^,]*),(?P<pan_log_dstport>[^,]*),(?:[^,]*,){3}(?P<proto>[^,]*),(?P<action>[^,]*),"(?P<url>[^"]*)",\((?P<threat_id>\d+)\),(?P<cat>[^,]*),(?P<sev>[^,]*)
/
gm

Description

Loading markdown...
Submitted by anonymous - 4 years ago