i need to remove all links to certain web-site, for example http://my-domain.com from html string. I know how to do it using Jsoup, but i don't want to parse html, i think that what i want can be reached using regexp.
For example i have string:
<p> Hello</p> <a href="http://my-domain"> My site</a> and <a href="http://google.com> Google </a>
After replacing my string should looks like:
<p> Hello</p> and <a href="http://google.com> Google </a>
Can you please help me with regexp to acheive this result?