Keep It Simple, Stupid | |
PerlMonks |
regular expressionby rocketperl (Sexton) |
on Jun 28, 2013 at 11:11 UTC ( [id://1041219]=perlquestion: print w/replies, xml ) | Need Help?? |
rocketperl has asked for the wisdom of the Perl Monks concerning the following question:
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?
Back to
Seekers of Perl Wisdom
|
|