Regular Expressions 101

Sponsors

Library entries

0
python

Find email address in a string.

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

MongoDB _ID

Detect if is a valid id for MongoDB
Submitted by manuerumx - 8 years ago
1
pcre

dapi

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

ref match

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

trGet

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

Why is this not matching the closest <A tag?

no description available
Submitted by Daz - 8 years ago
-2
pcre

Find multiple XML documents in file

as title says
Submitted by Doro - 8 years ago
1
pcre

ticket regexp

no description available
Submitted by anonymous - 8 years ago

vIDM No Barckets

Vote

0

Regular Expression
python

"
^(?P<log_time>[\dT\-\:]+)\s+(?P<log_host>[\w\-]+)(?:\.[\w\-\.]*\s+|\s+)(?P<log_type>\w+)\s+(?:(?=\()\((?P<log_module>[^\)]+)\)\s+|)(?:(?=\[)\[(?P<log_tenant>[^ ]+)\]\s+|)(?P<log_message>.+)
"
gm

Description

Loading markdown...
Submitted by anonymous - 4 years ago