i have an nvarchar(max) column and i need to extract everything between the opening a href tags and the closing a href tag. for example if the contents of my column where the following:
Here you can visit <a href="http://www.thisite.com">this link</a> or this
<a href="http://www.newsite.com">new link</a>. this is just a test to find the right answer.
then my results of my query should be:
"<a href="http://www.thisite.com">this link</a>"
"<a href="http://www.newsite.com">new link</a>"
any help would be greatly appreciated!