Regular Expressions 101

Sponsors

Library entries

1
pcre

Remove Leading and Trailing Spaces

no description available
Submitted by anonymous - 9 years ago

MIME type verification

Vote

2

Regular Expression
pcre

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

Description

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