js regex split string
(??[a-zA-Z0-9])/g) See it in action.
and split the string into an array. The following is a little long-winded but will work, and avoids the problem with IEs broken split implementation by not using a regular expression.How can I use strings as the find in a JS regex? i.e.: var find ["a", "b", "c"] var string "abcdefghijkl" Now, I want to replace all the elements split string based on