Karan_Mhatre
7 years agoNew Contributor II
Replacing Multiple Special Character
Hello Experts,
I have a source column (Emp_name) where many special character are there in name ,want to remove all the special characters.
Tried using replace and replaceAll but i didn’t find a function that can take list of special character like below {!,@,#,$,%,^,&,*}.
Source data looks like these:-
| Emp_id | Name | 
|---|---|
| 100 | Tom!@#$ | 
| 200 | Scott**& | 
| 300 | Tig*!!@er | 
| 400 | N!e@@el | 
| 500 | #$Je%rry | 
| 600 | James*&^% | 
I used to do these using convert function in IBM Datastage where is used to pass the list of special character and then replace it,but i didnt find any function here.
Can anyone guide me through how can i do it?
Appreciate your help.