how to regex anything that starts and ends with a b code example Example: regular expression starts and ends with same symbol /^(a|e|i|o|u).*\1$/