Regular Expressions 101

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
data:((?<contenttype>[a-z\-]+\/[a-z\-.]+){1}(;[a-z\-]+\=[a-zA-Z0-9\-]+)?){1}(;filename=(?<passedFileName>[a-zA-Z0-9\-\._]*))(;base64,){1}(?<content>[a-zA-Z0-9\!\$\&\'\,\(\)\*\+\,\;\=\-\.\~\:\@\/\?\%\s]*)_
/
gm

Description

no description available

Submitted by anonymous - 5 years ago