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