Switch to preg_replace in Something Positive plugin