removeNonNumeric function removes all non-digit characters from an input string, returning only the numbers.ts
import { removeNonNumeric } from "@arkyn/shared";
propstringstring containing only the numeric characters from the input string.javascript
import { removeNonNumeric } from "./removeNonNumeric";const result = removeNonNumeric("abc123def456-!@#");console.log(result); // Output: "123456"