str_subset(words, "([A-Za-z][A-Za-z]).*\\1")
this also seems to work
str_subset(words, "(.)(.).*(\1\2)")
Again, Thank you for your time. Really helpfull solutions (They are double backslash, only one is shown though)
str_subset(words, "([A-Za-z][A-Za-z]).*\\1")
this also seems to work
str_subset(words, "(.)(.).*(\1\2)")
Again, Thank you for your time. Really helpfull solutions (They are double backslash, only one is shown though)