Check that your regex works as intended with regex unit tests for matching inputs, nonmatching inputs, and captured values. Catch regressions as you refine the pattern.
Use the Unit Test Code Generator to turn your cases into runnable tests for your project.
Export test results as JSON, JSON Lines, CSV, or plain text. Share all results or only passed or failed cases.
Ask to write test cases and tune your regex against them.