hi i am trying to obtain numbers only

for example:
44-566 = 44566
23_65 = 2365

is there such a function? thanks.

ernest