Test, validate and match regular expressions
This regular expression captures numerical values containing an optional decimal point, such as those representing prices or monetary amounts. It looks for one or more digits, followed by an optional decimal, and then one or more additional digits, effectively requiring at least two digits if no decimal is present. It is useful for extracting decimal numbers from strings containing currency symbols across multiple lines.