Build, test, and debug regular expressions
Matches ANSI SGR (Select Graphic Rendition) escape sequences such as \e[31m or \e[1;32m, capturing the numeric parameter codes (digits and semicolons) in group 1. Commonly used to strip or extract color/style codes from terminal output, log files, or command results. The global and multiline flags ensure all sequences across every line are matched.