Regular Expressions 101

Library entries

match secrets in config file with one exp with 3 groups

Vote

0

Regular Expression
pcre2

/
(id|key|secret|password)( = |": ")(?P<value>.[^"^\n]+)
/
mg

Description

Loading markdown...
Submitted by dilnix - 9 months ago