[CB-4423] Handdle the special chracters by replacing them

Replace special characters with '_' and will keep on handling instead of exit with error