fork download
  1. import re
  2. rx = r"\b(?:\w*[aeiyouAEIYOU]){3}\w*"
  3. text = "And words with at least 3 vowels are: Obvious, Functionality, looking, directory, application"
  4. print( re.findall(rx, text) )
  5.  
Success #stdin #stdout 0.02s 9648KB
stdin
Standard input is empty
stdout
['Obvious', 'Functionality', 'looking', 'directory', 'application']