what regular expression should i use to separate the numbers only from an alpha numeric expression?
My expression looks like this
chr1:4775792-4775851
I want to store these two numbers before and after the "-" in two separate variables.
should i use \D?