Regular Expressions 101

Sponsors

Library entries

0
pcre

inefficient int/float(exponent)

match a single number
Submitted by anonymous - a day ago
0
pcre

amazIng regex

super
Submitted by anonymous - 2 days ago
0
pcre

Only if before

Only if needle is before target
Submitted by anonymous - 5 days ago
0
pcre

Phone Format ( FORK )

f
Submitted by anonymous - a month ago
0
pcre

cert

cert regex
Submitted by anonymous - a month ago
0
pcre

Variables 2

chingo de cheves y desmadre
Submitted by anonymous - 2 months ago
0
pcre

Spotify ID regex

Spotify ID regex
Submitted by anonymous - 2 months ago
0
pcre

helix word motion

helix word motion
Submitted by anonymous - 2 months ago
0
pcre

Kafka topic name regex

Kafka topic name regex
Submitted by anonymous - 2 months 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