Regex Split Tester
Enter regex and string; see result of split(regex).
Regex Split Tester
How it works
We run str.split(new RegExp(pattern, flags)) and show array.
When to use it
Parsing, tokenization.
Frequently asked questions
Limit?
Second arg to split limits count.
Capture groups?
Some engines include groups.