Regular Expressions 101

Community Patterns

Community Library Entry

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