LTM Limited interview question

Remove the special characters in the give string