How to remove special character from field and save it ?

Hi Team,

I am getting special character i.e ";" in empty field, how to remove the special character and save the value?

Already tried stripwith() and it is not working as expected.

  Discussion posts and replies are publicly visible