Regular Expressions 101

Sponsors

Library entries

-3
pcre

regex help

help please. i need regex,
Submitted by James - 8 years ago
1
pcre

test_task_regexp_3

no description available
Submitted by i.kulzazhenko - 8 years ago
1
pcre

34 ile 3982 nolu özelliklerin seçimi

Kemik Grubu
Submitted by Hakan YILMAZER - 8 years ago
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
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

REGEX to parse IIS7 Log File into FluentD

Vote

4

Regular Expression
pcre

/
^(?<date>\d{4}\-\d{2}\-\d{2}\s+)(?<time>\d{2}\:\d{2}\:\d{2}\s+)(?<sip>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\s+)(?<csmethod>.+?\s+)(?<csuristem>.+?\s+)(?<csuriquery>.+?\s+)(?<sport>\d{1,3}\s+)(.+?\s+)(?<cip>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\s+)(?<csUseragent>.+?\s+)(?<scstatus>\d{1,3}\s+)(?<scsubstatus>\d{1,3}\s+)(?<scwin32status>\d+\s+)(?<scbytes>\d+\s+)(?<csbytes>\d+\s+)(?<timetaken>\d+)?$
/

Description

Loading markdown...
Submitted by Juan Carniglia - 8 years ago