i have this string:
<p>this is a string with one <a href="http://www.velodays.com/
" title="">link</a> here and another <a href="http://www.seandelaney.co.uk/
" title="">link</a> here.</p>
I want to remove all <a></a> tags but keep the href values.
So for example the above would output as:
<p>this is a string with one http://www.velodays.com/
here and another http://www.seandelaney.co.uk/
I tried using strpos and substr but couldnt manage a solution.
Can somebody please correct me and help me get a working solution ?