I would like to know regular expression(s):
1. to
find all the occurences of
<img> tags (in HTML text)
that are
enclosed within <a> tags like <a><img /></a>
2. to
find all the occurences of [b]<img> tags (in HTML text)
that are not
enclosed within <a> tags