I need to strip link tags from a body of text but keep the anchor text. for example:
<a href ="">AnchorText</a>
needs to become just:
AnchorText
I was considering using the following RegEx:
<(.{0}|/)(a|A).*?>
Is a RegEx the best way to go about this? If so, is the above RegEx pattern adequate? If RegEx isn't the way to go, what's a better solution? This needs to be done server side.