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