Problems? Is your data what you think it is? | |
PerlMonks |
extract only uppercases from stringby losher (Initiate) |
on Aug 23, 2012 at 10:12 UTC ( [id://989259]=perlquestion: print w/replies, xml ) | Need Help?? |
losher has asked for the wisdom of the Perl Monks concerning the following question: hi, I have a string: G_I1E2_GTGGAG^303CTGgacgCCCTGC_I2E3_TACA I'd like to obtain two strings: GGTGGAGCTG and CCCTGCTACA(they are strigns splitted by lowrecases and all characters beside ACTG are ignored. Any idea how to use a regex for it? Thanks in advance
Back to
Seekers of Perl Wisdom
|
|