Regex Tester
Test a pattern and flags against text, including capture groups and match positions.
Ready.
How to use this tool
Test JavaScript regular expressions. Enter your data above, choose the action, and review the result before using it elsewhere.
Patterns use the browser's JavaScript RegExp syntax.
The test runs in a time-limited worker because some expressions take too long on certain input.
Common questions
How does Regex Tester work?
Patterns use the browser's JavaScript RegExp syntax.
What should I check before using the result?
The test runs in a time-limited worker because some expressions take too long on certain input.
Is my input uploaded?
No. This tool processes input in your browser. OctalPilot does not receive the content you paste here.