using javascript regex to capture text in a url
<p>I need to use a regular expression in javascript to match certain text in a url.</p>

<p>Here is an example:</p>

<p>"qty1=0&amp;qty2=0&amp;qty3=0&amp;"</p>

<p>I want to match the text(number) that comes after the '=' and before the '&amp;' whenever the word 'qty' appears in the string. The text(number) will be subject to change every time the url is generated, so I want to match whatever the new text(number) may be.</p>

<p>What regular expression could I use to solve this?</p>

<p>Any help would be appreciated!</p>
