Parses a floating number (such as double or float) from an input string. Please remove all spaces from the input string before using this regex pattern.
The following symbols are used:
'' means optional parameter;
'|' means OR;
'+' is the positive sign;
'-' is the negative sign;
'#' means one or more decimal digits;
'.' is decimal seperator.