Regular Expressions 101

Community Patterns

S/MIME details from Content-Type header

0

Regular Expression
PCRE (PHP <7.3)

/
^Content-Type: (?<contenttype>.*?)(?:; name="(?<name>smime.p7m)")?(?:; smime-type=(?<smimetype>enveloped-data))?$
/
gm

Description

no description available

Submitted by anonymous - 5 years ago