Regular Expressions 101

Sponsors

Library entries

1
pcre

aabc lazy capture

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

pure url and uri

no description available
Submitted by Thiago Souza - 7 years ago
1
pcre

Cleaning up epub converts

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

HTTP => HTTPS

Force all URLs to HTTPS.
Submitted by WhatIsHeDoing - 7 years ago
1
pcre

Youtube ID

get youtube video ID
Submitted by anonymous - 7 years ago
1
javascript

Floating Point

Tests a floating point number
Submitted by Josh L. Rasmussen - 7 years ago
3
pcre

Currencies

Matches numbers formatted like currencies
Submitted by elgehelge - 7 years ago
0
python

Clojure

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

BEM for css

no description available
Submitted by giacomozinetti - 7 years ago
-2
javascript

domain name

no description available
Submitted by anonymous - 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 - 8 years ago