I need to extract the first word (German) from the following text string
substr(details[1],0,50)%>%
+ gsub("[^a-z/A-Z/,/ ]","" ,.)%>%
+ gsub("A-Z.*" , "", .)
[1] " , German, European, Central European"
For many combinations I try with gsub I can't extract it
Thank you very much