Logged In: NO

I think you have to change it to "$string = preg_replace('/\xad+/', '', $string); #"

otherwise the protocol filter will not work correctly