match a string that starts and ends with the same vowel

Solutions on MaxInterview for match a string that starts and ends with the same vowel by the best coders in the world

showing results for - "match a string that starts and ends with the same vowel"
Lauryn
18 Mar 2016
1const regex = /\b(?<vowel>[aeiou])(\w*\k<vowel>)?\b/