Hey, I need your help , can you suggest how to remove html links from text. Like I got some text and some parts contain link like <a href=""> and so on, some of them very different, how to remove them ?
Are you wanting to remove just the tags? $out = preg_replace('%<a\b[^>]+>(.*?)</a>%si', '$1', $input); PHP: