Fixed the regex to accomdate for scientific notation in strings.