diff --git a/examples/timelineCsvConverter.py b/examples/timelineCsvConverter.py index 39d5697..71e061f 100755 --- a/examples/timelineCsvConverter.py +++ b/examples/timelineCsvConverter.py @@ -25,8 +25,8 @@ # Extract decimal number in a string def getDecimalFromString(inputString): try: - numbers = re.findall('[-+]?\d*\,\d+|\d+', inputString) - return numbers[0].replace(",",".") + numbers = re.findall('[-+]?\d.*\,\d+|\d+', inputString) + return numbers[0].replace(".","").replace(",",".") except: return None return None