Regular Expression Tester
Test JavaScript regular expressions against local text, inspect capture groups and preview replacements with protection against runaway patterns.
About Regex testerFeatures & how to use
Test JavaScript regular expressions, captures and replacements locally. Expressions run in a disposable worker with a strict timeout.
What it can do
- Test JavaScript regex patterns and flags.
- Inspect matches and capture groups.
- Stop long-running expressions after 250 milliseconds.
How to use it
- Enter a pattern and optional flags.
- Provide test text and an optional replacement.
- Run the expression and inspect its matches.