search for: somethigmysomth

Displaying 1 result from an estimated 1 matches for "somethigmysomth".

2006 Jan 11
3
Regular expressions
...s covered in help pages (then I did not understand it by reading them several times) or it was answered previously (then I did not find it). Since "ls" with argument pattern essentially uses "grep" (if I am not mistaken), I have an example for "grep" text<-c("somethigMYsomthing elseTARGET another thing","MY somthing TARGET another thing","somethig somthing elseTARGETMY another thing","somethigMTARGETY another thing") grep(pattern="MY&TARGET", x=text) #I would like to get 1 2 3 and not 4 or actually their names using te...