Rxova
Skip to content

digitsOnly

function digitsOnly(input): string;

Keep only the digits. Handles Arabic-Indic and full-width numerals too.

ParameterType
inputstring

string