Test, validate and match regular expressions
This regex matches floating-point numbers that strictly contain a decimal point followed by at least one digit. It supports an optional positive or negative sign at the beginning and allows the integer part to be omitted, meaning values like '.5' or '-.25' are considered valid. Using the global and multiline flags, it efficiently extracts these decimal numbers from blocks of multiline text. It is ideal for validating or parsing decimal strings in log files or data processing.