I would just like to make a small improvement to your code TheIceman5,
$hp = preg_replace('|http://|i', '', $hp);
That should be slightly easier to read and understand. You can choose the delimiters for the preg_replace function, so try to choose a delimiter that benefits you, such as the pipe instead of the slash in this case.