Removes all non-numeric characters from a string.
removeNonNumeric.Rd
Function removes all non-numeric characters from a string.
Examples
str <- c(".d1.nh.120", "empty", "110", ".nh.dgd", "only.nh")
removeNonNumeric(str)
#> [1] "1120" "" "110" "" ""