Regular Expressions 101

Sponsors

Library entries

0
python

whatsapp meta data

[8/23/18, 2:05:50 PM]
Submitted by Mandar Gite - 4 months ago
0
pcre2

Divide AAAA and MMGG

Division between AAAA and MMGG
Submitted by Alessandro - 4 months ago
0
python

meter number

meter number
Submitted by econ - 4 months ago
0
pcre2

suprnana

whodis
Submitted by anonymous - 4 months ago
0
pcre2

YouTube regex pattern v2

YouTube regex pattern v2
Submitted by anonymous - 4 months ago
0
pcre2

Soundcloud pattern

Soundcloud pattern
Submitted by anonymous - 4 months ago
0
pcre2

Email Regex

A well equiped regex
Submitted by anonymous - 4 months ago
0
pcre2

E

E
Submitted by anonymous - 4 months ago
0
pcre2

demo

regex grouping demo
Submitted by Lidro - 4 months ago
0
python

租赁

租赁
Submitted by 租赁 - 4 months ago

Auth.log Parsing

Vote

0

Regular Expression
pcre2

/
^(?<month>\S{3})? {1,2}(?<day>\S+) (?<time>\S+) (?<hostname>\S+) (?<process>.+?(?=\[)|.+?(?=))[^a-zA-Z0-9](?<pid>\d{1,7}|)[^a-zA-Z0-9]{1,3}(?<info>.*)$
/
gm

Description

Loading markdown...
Submitted by Jason King - 4 months ago