title: Find the diacritic in the string
body: <p>I was doing some searching and found a similar topic
  <a href="https://stackoverflow.com/questions/61792387/powershell-find-non-ascii-characters-in-text-file">Powershell find non-ASCII characters in text file</a></p>
  <p>MY function below is not handling all cases for example apostrophe or all the special characters</p>
  <pre><code>function IsStringDiacritic {
      param (
          [parameter(Mandatory = $True)][string]$String
      )
      
      If ($String -as [System.Net.Mail.MailAddress]) {
          $String = $String.Split('@')[0]
      }
  
      Return [bool]($String -cmatch '[^\x20-\x7F]')
  }
  </code></pre>
  <p>Above is the function I made but I am not getting what I need.</p>
  <p>I want to send the function first.last and if there is a diacritic return a true or false.</p>
  <p>My function is able to deal with an email address as well with the test and then split but that is  not the primary part.</p>
  <p>I think I need a regex that will look at first.last or first last but I am not sure how to include  the possiblites.</p>
  <p>Any better ideas?</p>