3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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;
based on cWHrQ
Output for 4.3.11 - 7.1.0
Warning: preg_replace(): Delimiter must not be alphanumeric or backslash in /in/jUZOV on line 4 Cleaned:
Output for 4.3.0 - 4.3.10
Warning: Delimiter must not be alphanumeric or backslash in /in/jUZOV on line 4 Cleaned: