Regular Expressions 101

Library entries

-2
python

twitter usernames

no description available
Submitted by anonymous - 8 years ago
0
javascript

token

replace token like [foo:bar:ba zz]
Submitted by anonymous - 8 years ago
1
javascript

search text matching any word

search text matching any word
Submitted by Hiren Shah - 8 years ago
-2
javascript

Date format regex for ddMMMyyyy

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

author bibtext

no description available
Submitted by anonymous - 8 years ago
2
javascript

Vimeo Video ID

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

YouTube Video PArser

no description available
Submitted by Shafique - 8 years ago
1
python

DOS ASM Ops

Matches ops of DOS ASM
Submitted by anonymous - 8 years ago
1
python

print_build_data

URL to get build data from the api
Submitted by anonymous - 8 years ago
0
javascript

two matches with pipe

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

salary

Chinese salary input
Submitted by taijia - 8 years ago

suricata OSSIM regex-1

Vote

2

Regular Expression
python

r"
^(?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