Suppose I have list of string "S[+229]EC[+57]VDSTDNSSK[+229]PSSEPTSHVAR"
and need to get a vector of string that contains only numbers with bracket like eg. [+229][+57]
.
Is there a convenient way in R to do this?
Suppose I have list of string "S[+229]EC[+57]VDSTDNSSK[+229]PSSEPTSHVAR"
and need to get a vector of string that contains only numbers with bracket like eg. [+229][+57]
.
Is there a convenient way in R to do this?