^ ... the hell are you talking about? Hihihi...? And what exactly do you want to do? Replace the <a> tags with the text of the link? (What's between the <a> </a> tags)... or do you just want to remove it all?
for example, <a href=http://www.domain.com>good domain</a> Code (markup): i want to remove <a href=http://www.domain.com> PHP: and </a> PHP: , just keep the test: good domain
You can use strip_tags function. <?php $text = '<p>Test paragraph.</p>'; echo strip_tags($text); ?> PHP: This will output: Test paragraph. Code (markup):