# text-split **Repository Path**: mirrors_Jam3/text-split ## Basic Information - **Project Name**: text-split - **Description**: Utility for splitting text into chunks based on regex. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: seongjun - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-23 - **Last Updated**: 2026-03-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # text-split Utility for splitting text into chunks based on regex. ##Installation ``` $npm install text-split $import text-split from 'text-split'; ``` ##Usage **html** ```

It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.

``` **javascript** ``` const textBox = document.getElementById("text-box"); text-split(textBox, ', but'); ``` result will look like this ``` [ It has survived not only five centuries, also the leap into electronic typesetting, remaining essentially unchanged. ] ```