I'm really new to regex and I've been able to find regex which can match this quite easily, but I am unsure how to only match words without it.
I have a .txt file with words like
sheep
fleece
eggs
meat
potato
I want to make a regular expression that matches words in which vowels are not repeated consecutively, so it would return eggs meat potato
.
I'm not very experienced with regex and I've been unable to find anything about how to do this online, so it'd be awesome if someone with more experience could help me out. Thanks!
I'm using python and have been testing my regex with https://regex101.com.
Thanks!
EDIT: provided incorrect examples of results for the regular expression. Fixed.