how can i find '('+any number+')'
in a string to split the string into array like i have this text
"(1)some words (2)other words (3)other words (4)other words ...."
and so on
here is what i have tried someString.split(/[0-9]/)
result:"("
")some words ("
")other words ("
")other words ("
")other words"
this seems to find only numbers from 0 to 9
i need something like ('('+/[0-9]/+')')