How to use Regex match()
to split numbers and string along with special character in jQuery?
For example:
str = "+10días" // this is my the string. (number + string along with any special character)
string = str.match("needed stuf");
I need like this so that string[0] = 10
and string[1] = "días"
. How can I do that?