Skip to main content
1 of 2
totallyhuman
  • 17.3k
  • 3
  • 32
  • 88

Python 2, 58 bytes

-30 bytes by realizing it can be as simple as [Arnauld's JS answer].

lambda s:re.search('[^aeiouy]([^aeiouy]|$)',s)<1
import re

Try it online!

totallyhuman
  • 17.3k
  • 3
  • 32
  • 88