Build, test, and debug regular expressions
This regex parses paystub lines that begin with the code '0001', capturing a lazily-matched description field, a monetary amount composed of digits, commas, and periods (e.g., '3,500.00'), and a trailing 6-digit number such as an employee ID or date. The global and multiline flags allow it to scan and extract every qualifying line from a multi-line paystub document, making it useful for pulling basic salary entries from text exports or OCR output.