Regular Expressions 101

Library entries

0
pcre2

exclude square brackets

exclude square brackets
Submitted by tarek - 5 days ago
0
pcre

strip host port

removes port number from URL
Submitted by pc - 7 days ago
0
pcre2

YouTube link parser

Validate an URI to YouTube video.
Submitted by anonymous - 8 days ago
0
pcre

Proxy Matcher

Validate 1-223.0-255.0-255.0-255:1-65535
Submitted by dev.tntd2k2 - 10 days ago
0
python

Session Start/Close

Capturing Start/Close in IRC-logs
Submitted by Corpset - 11 days ago
0
pcre

latlonlatlon

gg
Submitted by anonymous - 11 days ago
0
python

PLDI regex 3

for pldi answer
Submitted by PlaceReporter99 - 12 days ago

Find passwords in logs

Vote

1

Regular Expression
pcre2

/
([-]+[Uu](sername|ser|SERNAME|SER)?\s+[^\s]+\s[-]+[Pp](ass|assword|ASS|ASSWORD)?\s([\"\'])?)([^\s\"\']+)
/
gmi

Description

Loading markdown...
Submitted by anonymous - 3 months ago