Regardless of symbols, match 5-bit palindromes

five letter palindromes (words that are the same backwards as forwards) (kayak,dewed,eye,refer)

I"m a little confused about this question. I don"t know how to write it


^ ([a-zA-Z]) ([a-zA-Z]) [a-zA-Z]\ 2\ 1 $

references the previously matched characters with \ 1,\ 2 .


\b(\w)(\w)\w\2\1\b
Menu