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.
Comment on Re^2: extract only uppercases from string