Regular Expressions 101

Community Patterns

123...6

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