Regular Expressions 101

Sponsors

Library entries

1
pcre

Email verification

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

Email verification

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

Match links in html

Matches all from
Submitted by anonymous - 7 years ago
5
javascript

MAC address

a mac address separated by dashes or colons.
Submitted by anonymous - 7 years ago
1
pcre

Find php short echo tags

Find instances of Usefult to replace with
Submitted by JayCee - 7 years ago
1
pcre

Find php short open tags

Finds instances of <? instead of <?php
Submitted by JayCee - 7 years ago
0
pcre

negative lookbehind

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

111

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

url 1

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

Absolute Date format

no description available
Submitted by Jesse Benton - 7 years ago
1
pcre

Parsing BWPROMO

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

find variant in uri

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

get last uri segment ending in number

no description available
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