Javascript Code Multi Split How to Perform Split w/ Multiple Characters

Javascript Code that Allows you to Perform a String Split Using Multiple Split Separators at the Same Time

Home Short:

Simple one line of code in Javascript to be able to perform a string split using multiple characters as the delimeters at the same time.

As an example of how this could be useful, lets say you have a paragraph made up of multiple sentences and you want to split the paragraph into multiple sentences but the problem that exists is you can just split at the period because some of the sentences end with an exclamation point as well as question marks.

Place the multiple characters, without spaces, that you want to split at between [ and ]

S
H
A
R
E