🔎 Regex Tester & Pattern Helper
Try a JavaScript regular expression against real text, inspect captures, and adjust it while you work.
Your pattern
Enter the expression without slash delimiters. Add flags such as g or i in the second field.
Quick patterns
Your pattern runs in a short-lived local worker so a slow expression won't lock up the page. Tests are limited to 20,000 characters and 500 highlighted matches.
Matches
Checking…
Matches and capture groups
- Match details will appear here.
Checking the sample text locally…