sugar logic function--text clean

Hello there,

anybody please help with the text clean?

I want to replace several characters inside a number: " ", "-",".", etc. via Studio-->module--->fields---->edit formula(using logic function).

But it seems that I can only replace one character by one time...

The I come across with a question:

what if there're many other characters I want to remove, I just want to keep numbers, then how I can do that?

Any list of sugar logic function formula that I can refer to? I couldn't find one...

Thanks in advance for any help!