T
TonyShirt
I have a string "FILEVERSION 1,01,0,21\n"
I want to match only the numbers "1,01,0,21"
i'm using /([0-9]+,[0-9]+,[0-9]+,[0-9]+)/
but I'm still getting the whole string. Why? I know its easier (At
this point) to just split the string by \s, but I just cant give it
up!
I want to match only the numbers "1,01,0,21"
i'm using /([0-9]+,[0-9]+,[0-9]+,[0-9]+)/
but I'm still getting the whole string. Why? I know its easier (At
this point) to just split the string by \s, but I just cant give it
up!