write a regular expression to detect irf a s-character stnin,g is a palindrome, i.e. it reads the same forward and backward. the string can have .any characters, but whitespaces ar,e to be ignored for the palindrome check. assume that a re. match call will be made to apply your r-egular expression on .a candidate string to check whether or not it is a palindrome.