JavaScript: Split String and Keep the Separators
wisdomgeek.com