title: How to omit the dots, commas and white spaces for a string (needed for checking a palindrome)
body: <p>My program for checking a palindrome (with use of pointers) must count with few kinds of cases.</p>
  
  <p>Input can be: </p>
  
  <ol>
  <li>one symbol/letter (done)</li>
  <li>a word with upper/lower case letters (done)</li>
  <li>bunch of symbols; if only symbols, then it is always an palindrome (done)</li>
  <li>if the input is too large(>80), then it is not a palindrome (I need to use fgets for that, which I managed to get done)</li>
  <li>combination of letters and symbols, if so, then just count letters (STRUGGLING WITH)</li>
  <li>a sentence with whites and commas (STRUGGLING WITH)
  -->To get an input, I'm prompted to use only fgets function because of the case 4. I still can't manage to convert the input string to the desired form</li>
  </ol>
  
  <p>e. g.:
  input: Madam, I'm Adam
  output: palindrome
  input: ?a.a!
  output: palindrome</p>
  
  <p>I've already managed to create the palindrome function with use of pointers, to convert possible letters in a string to all-lower-case, and to display "palindrome" if the string consists only of symbols.</p>
  
  <p>How could I manage to transform e. g.:</p>
  
  <pre><code>char str[80] = "Madam, I'm Adam";
  </code></pre>
  
  <p>into:</p>
  
  <p><code>str[80] = "madamimadam";</code> ?</p>