Live matches
See every match and its character index.
Test JavaScript regular expressions with flags, live matches, capture groups and replacement output.
Use this tool to test JavaScript-compatible regular expressions against sample text. Flags such as g, i, m, s, u and y are supported by your browser.
See every match and its character index.
Inspect captured subgroups for each match.
Test replacement strings before using them in code.
All matching runs locally in your browser.