Regex javascript to match href

Posted by zx on Stack Overflow See other posts from Stack Overflow or by zx
Published on 2010-05-08T04:05:15Z Indexed on 2010/05/08 4:08 UTC
Read the original article Hit count: 292

Filed under:
|

Hello,

<u class="logout" href="/logout.php?h=970c9836674709e6dcdaadd094622fc5&t=1273295318" target="_top">Logout</u>

That above is what I want to search for.

I want to get h= and t= from that URL, or just get the entire url in href=""

How would I do this with regex?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about regex