Check if a regular expression is valid and test it against sample text with match highlighting.
This tool validates regular expressions and lets you test them against sample text. Matches are highlighted in the output, and capture groups are displayed separately. Supports global (g), case-insensitive (i), and multiline (m) flags.