# assuming $_ has the string #234567890123456 => 16 characters /\d/*/^[\d.-]+$/ #### #23456789012345678 => 18 characters /\d/*/^([\d.-]+)$/