Regular Expressions 101

Sponsors

Library entries

1
python

Remove HTML tags and comments

Remove HTML tags and comments
Submitted by Smit Patel - a year ago
1
javascript

Minecraft Log Parser 1.0

Improvements needed
Submitted by Crystal - a year ago
1
python

Parse Data Fields

Parsing example
Submitted by anonymous - a year ago
1
python

ds100reg2

Data 100 Regular Expressions, adapted from Princeton
Submitted by anonymous - a year ago
1
python

Get domain name from URL

Get domain name from URL
Submitted by anonymous - a year ago
1
python

Extract time from text

Extract time from text
Submitted by anonymous - a year ago
1
python

Paystub Basic Salary

Extract Amount and Date from Paystub
Submitted by MAJED MUSA GHANIM - 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 - 8 years ago