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.