Regular Expressions 101

Community Patterns

Password Log

2

Regular Expression
PCRE (PHP <7.3)

/
(?<=pwd(?:=|:))[^&,\v]*
/
g

Description

Matches a password that has been passed in as a url query parameter or in a post dictionary.

Submitted by Anthony Miller - 9 years ago