Developer Tools
Regex Tester
Test a JavaScript regular expression against sample text and inspect every match.
Enter a pattern and test text.
Matches will appear here.
JavaScript regular expressions
This tester uses the browser's JavaScript RegExp engine. Flags such as g, i, m, s, u and y change matching behavior.
Match details
The output includes each match, its character index and any capture groups so you can debug patterns more quickly.