Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^.*(Set Cookie:|Set-Cookie:|HTTP|200 OK|Cookie:|document\.?cookie).*$
/
gm

Description

11 aws access key id AccessKeyId AND base64 encoded 15 bytes string RegEx - to be checked

aws_access_key_id = 123456789012

aws_access_key_id = dJPAKRh75gkGBSc13y0M

AWS_ACCESS_KEY_ID

filter file name and file extension with regex > File Policy

Regex: https://regex101.com/r/YgX8g5/20

Usable Regex: https://regex101.com/r/YgX8g5/32

Submitted by sahilkapila - 4 years ago