For example- I have this text
www.google.com
<a href="www.google.com"> Google Homepage </a>
I wrote this (<a.*<\/a>) which captures anchor tag and this (www\.[\S]+(\b|$)) which selects any text which starts with www. but what i want it selects only www.google.com not the one inside anchor tag.
anything through which I can completely ignore anchor tag and select text only from remaining text.
To be more precise a regex which can: NOT OF (<a.*<\/a>) AND (www\.[\S]+(\b|$))
Hope, I'm clear with my question. Thanks for helping.
 
     
    