Regex to match a URL based up on a word
<p>I want to write a javascript regular expression to match URLs which have the word <strong>-booker</strong> in it.</p>

<p>URLs are generally like:</p>

<pre><code>http://domain.local/htmlforms/mforms/product1-booker.html
http://domain.local/htmlforms/mforms/product2-booker.html
http://domain.local/htmlforms/mforms/product3.html
http://domain.local/htmlforms/mforms/product4.html
</code></pre>

<p>Thank you.</p>