Regular Expressions 101

Sponsors

Library entries

1
javascript

phone regex

phone regex
Submitted by antiai - 2 months ago
1
javascript

提取步骤1

提取步骤1
Submitted by liangchao - 2 months ago
1
javascript

array path

Extract the array path from a nested path
Submitted by anonymous - a month ago
1
javascript

File extension

Retrieve the file extension of a filename
Submitted by anonymous - 19 days ago
2
python

lottery data picker

for azlottoapi
Submitted by anonymous - a year 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