/^([+-]?(?=\d|\.\d)\d*\.?\d*)([a-z]+)$/ #### /^([+-]?(?:\d+\.?\d*|\.\d+))([a-z]+)$/