added regex to parse latlong