Regular Expressions 101

Library entries

MIME type verification

Vote

2

Regular Expression
pcre

/
^[\w-]+\/[\w-]+(?:;\s*[\w-]+=[\w-]+)*$
/

Description

Loading markdown...
Submitted by Erin Millard - 9 years ago