Regular Expressions 101

Sponsors

Library entries

-8
pcre

Regular exp to exclude a domain

to exclude one domain abc.com
Submitted by Sandy - 9 years ago
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