Dear God (ddrudik)
I need to do something very similar to Nick but am having difficulty adapting your code. I wonder if you could cast your knowledgable eyes over my requirements?
Input string
<div>test</div><p>Paragraph text <a href="someurl.com">link text</a></p>
Required output string
<div>test</div><p>Paragraph text link text</p>
So basically I need to remove the start and end anchor tags but leave the link text and any other html intact.
Thanks in advance for any help you can give me
Rob