Last active
June 12, 2019 07:40
-
-
Save uurtech/a6ef40301cff5baae836d7290b6fde21 to your computer and use it in GitHub Desktop.
Check if first and last letter same and vovels at the same time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function regexVar() { | |
var re = /^[a].*[a]$|^[e].*[e]$|^[i].*[i]$|^[o].*[o]$|^[u].*[u]$/; | |
return re; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment