Test pattern + flags quickly and preview replacement output. Switch to Split mode to see the result of text.split(regex) as a numbered list, including capture groups the way JavaScript inserts them.
Regex Tester
Run regular expressions against test text with match details, replacement preview, and split output. Runs in your browser