3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "Here is another funny site here we.Go to the"; $string = preg_replace('\b(https?|ftp|file)://[-A-Z0-9+&@#/%?=~_|!:,.;]*[-A-Z0-9+&@#/%=~_|]', '', $string); echo "Cleaned: " . $string;

preferences:
48.6 ms | 402 KiB | 5 Q