how do I split number list to array list in JavaScript
I have a string like this... "1.first. 2.second. 3.third" and I want it to be like this using JavaScript split ["1.first.", "2.second", "3.third"] I saw C# is like this Regex.Split(txt, "[0-9]+\."); but I need it in JavaScript, please help I…