How to match strings of the form "exclude=1" using regular expression? : <p>I want to use a regular expression to match strings of the form <code>exclude=1</code> where the number should be in the range of 1 to 15. </p>

<p>I've tried: 
<code>str.match("/exclude\=[1-9]|exclude\=1[0-5]/")</code></p>

<p>but it does not work.</p>

<p>Thank you!</p>
