Hello I could use some help here with trying to use perl stype regex to extract the first group of letters before a ( . ) so if I have a sting AACEE.adiid and wanting AACEE i <- "AACEE.adiid" grep(".+\..?+",i,perl=T) I must be doing somthing wrong but don't know what it is? thanks