Regular Expressions 101

Sponsors

Library entries

0
pcre2

Comma Separated Email Regex

Comma Separated Email Regex
Submitted by Kahnu - a month ago
0
pcre2

test

address\s\d+\srange\s(?\S+)\s*(?\S+)
Submitted by anonymous - a month ago
0
pcre2

Match PWSID

Match PWSID
Submitted by Matt Horrell - 2 months ago
0
pcre2

thank you pages

thank you pages regex
Submitted by anonymous - 2 months ago
0
golang

Date String ISO Pattern

Date String ISO Pattern matcher
Submitted by Lucas Morais - 2 months ago
0
pcre2

frequency

e
Submitted by hieppp - 2 months ago
0
pcre2

Email check

check if email is correct
Submitted by anonymous - 2 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