laziness, impatience, and hubris | |
PerlMonks |
Re^2: extract only uppercases from stringby losher (Initiate) |
on Aug 23, 2012 at 10:39 UTC ( [id://989271]=note: print w/replies, xml ) | Need Help?? |
ie. for the left string I have tried trick like:
if ($string =~ m/([ACTG]+).*[actg]/) { print $1 } and several other variations but all I get is an uppercase string till the first character other than ACTG.
In Section
Seekers of Perl Wisdom
|
|