# From $str1 = "ATC[TG]CC"; # into $ans_of_str1 = [ # 'ATCTCC', 'ATCGCC' ];