Removes all non-numeric characters from a string
value: String
: value to be format
string: String
: A string with just numeric characters. If not exist number the return default is an empty
import { toOnlyNumbers } from '@platformbuilders/helpers'
toOnlyNumbers('683.905.690-27'); // return '68390569027'
toOnlyNumbers('abc'); // return ''