Home>split() JavaScript String Method>Edit It: Split the given string at each 'hit' patternEdit It: Split the given string at each 'hit' patternThis code shows how to split a string at each 'hit' pattern.See it on StackBlitz