R retrieves elements from a string
I am trying to extract all words containing two adjacent vowels in a given string.
x <- "The team sat next to each other all year and still failed."
Results will be "team", "each", "year", "failed"
So far I've tried using [aeiou][aeiou]
help for this regmatches
, but that only gives me a word part.
Thank.
+3
source to share