Regular Expressions 101

Community Patterns

1...56789...588

match csrf token

0

Regular Expression
PCRE2 (PHP >=7.3)

/
<meta name="csrf-token" content="([^"]+)"
/
gm

Description

Matches the csrf token in the meta data

Submitted by anonymous - a year ago