<?php $urlRegex = '#(^|\\b)https?:\/\/[\w.?;:\)\)"=&_/\#@]+#'; $text = 'example url [http://223.255.255.254] blabhablha'; $text = preg_replace($urlRegex, '', $text); print("text is $text \n");
You have javascript disabled. You will not be able to edit any code.