Displaying 1 result from an estimated 1 matches for "a_cont_1".
Did you mean:
a_cont_12
2012 Jun 23
2
matching a string with multiple conditions using grep
Suppose I have a vector ["A_cont_1", "A_cont_12", "B_treat_8",
"AB_cont_22", "cont_21_Aa"], I hope I can extract the strings which include
3 short strings, say "A", "cont" and "2", that is to say, "A_cont_12",
"AB_cont_22" and "cont...