Tool capabilities
- Input
- TXT
- Output
- TXT · JSON
How to use Regex Split
Split text with a JavaScript regular expression into a JSON array. This regex split works directly in your browser and is free to use without an account.
- Paste or open your input in the editor.
- Run the tool and inspect the output. If the input is invalid, correct the reported error and run it again.
- Copy the result or download it to your device.
Regex Split · Example
Input
alpha, beta; gamma
Output
[ "alpha", "beta", "gamma" ]
Split text with a JavaScript regular expression into a JSON array.
Usage notes
Inputs and results are processed on this device. Tool content is not sent to a processing server.