|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: about regular expressionby ryan (Pilgrim) |
| on Feb 02, 2002 at 11:30 UTC ( #142908=note: print w/ replies, xml ) | Need Help?? |
|
You can grab all the possible values for intron and exon with your regex and then split them up.
I replaced all the *s with +s, from my understanding this is more efficient, but I'm no regex guru :) The regex puts everything between the "double quotes" in $1 This will print out, based on your input data: Now that they are separated, you can do whatever you want with them. Ryan
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||