There's a difference between want to get the details from this between the HTML tags and The value I need is between "> " and " <". The latter is trivial: />([^<]*)</g will do that. But consider:
a > 3 && b < 5
<img src = "..." alt = "a > 3 && b < 5">
<!--> comments are fun! <!-->