modified regex to account for decimals