starts and ends with letter regexp code example Example: regular expression starts and ends with same symbol /^(a|e|i|o|u).*\1$/