Regular Expressions 101

Community Patterns

content_type parser

0

Regular Expression
PCRE (PHP <7.3)

/
^([\w]{1,127}\/[\w]{1,127})(?:;\s+charset=([\w!#$%^&-~{}]{1,127}))?(?:;\s+boundary=([\w!#$%^&-~{}]{1,70}))?$
/
mg

Description

no description available

Submitted by anonymous - 4 years ago