Test, validate and match regular expressions
Matches lines (multiline mode) beginning with optional whitespace, digits, and a captured non-whitespace token (e.g., a filename or product name), followed by additional numbers, a dollar amount like $19.99, and a version-style number such as 1.25, then captures the rest of the line. With the global flag, it processes every matching line in a file. Useful for parsing formatted reports, price lists, or command output like pr that mix identifiers, quantities, currency values, and version numbers.