using System.Text.RegularExpressions;
public static void Main()
string word, revsword = "";
Console.WriteLine(" Enter Word :");
word = Console.ReadLine();
string Palingdrome = Regex.Replace(word, @"(\s|-)", "");
for (int i = Palingdrome.Length - 1; i >= 0; i--)
revsword += Palingdrome[i].ToString();
if (revsword == Palingdrome)
Console.WriteLine(false);