I cannot get my head around gsub()
. If text is:
text <- "Genus_species_1652_NL"
How would I extract to get
"Genus species"
Thanks. This is a useful link but I havnt been able to sort it http://biostat.mc.vanderbilt.edu/wiki/pub/Main/SvetlanaEdenRFiles/regExprTalk.pdf