Use proper escape in preg_replace()