Regular Expressions 101

Sponsors

Library entries

1
javascript

Emoji chars

no description available
Submitted by anonymous - 7 years ago
1
javascript

match block apache

no description available
Submitted by anonymous - 7 years ago
1
javascript

2013b

no description available
Submitted by dror - 7 years ago
1
javascript

Caculator

no description available
Submitted by anonymous - 7 years ago
1
pcre

inline-sub-via-sed

regex for inline substitution w/ sed
Submitted by anonymous - 7 years ago
-2
javascript

twitter ids

no description available
Submitted by jaybill - 7 years ago
1
pcre

Extract values from log

no description available
Submitted by anonymous - 7 years ago
3
pcre

Cisco ASA

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

Beginning of word

When looking for day, Sunday should not be matched.
Submitted by Ben - 7 years ago

suricata OSSIM regex-1

Vote

2

Regular Expression
python

"
^(?P<date>\S+\s+\d\s\d\d:\d\d:\d\d) (?P<hostname>\S+) suricata\[(?P<pid>\d+)\]: \[(?P<sid>\d+:\d+:\d+)\] (?P<msg>.+) \[Classification:(?P<classification>.+)\] \[Priority:(?P<priority> \d+)\] \{(?P<proto>.+)\} (?P<src_ip>[\d.]{7,15}):(?P<src_port>\d+) -> (?P<dst_ip>[\d.]{7,15}):(?P<dst_port>\d+)$
"

Description

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