- Trim the special character at the start of the string
Then check
2)if string starts with TBD or Number
Then trim charcater or special character atfter the value
3)if other than TBD or number then keep the value as it only remove the staring special character
Input
1)@TBD12345-34566
2)987990~tvbn
3)#9876788
4)*SAD-133455
Output
1)TBD12345
2)987990
3)9876788
4)SAD-133455