Extract an URL parameter value

Content: <a href="/page.jsp?kind=1&param1=value1&param2=value2">

Regex to extract value1 (only param1 is dynamic):

<a href="/page.jsp\?kind=1&param1=(.*?)&param2=value2">

Regex to extract value1 (all parameters dynamic):

<a href="/page.jsp\?.*?param1=([^&"]*)

Regex to extract value1 (where only the kind=1 links are to be taken into account):

<a href="/page.jsp\?kind=1.*?param1=([^&"]*)

Comments: