Regular Expressions 101

Community Library Entry

2

Regular Expression
PCRE (PHP <7.3)

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

Description

Submitted by Erin Millard - 12 years ago