Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
TypeScript
match a string that starts and ends with the same vowel
Superuser
Programming language:
TypeScript
2021-04-01 00:32:47
0
Q:
match a string that starts and ends with the same vowel
Masum
Code:
TypeScript
2021-07-08 09:43:10
const regex = /\b(?<vowel>[aeiou])(\w*\k<vowel>)?\b/
0
Tags
string
start
New to Communities?
Join the community