title: To check for special characters in a string
body: <p>I need to find special character in a string which has alphanumeric values in it. </p>
  
  <p>I have tried the below code snippet but it doesn't work.</p>
  
  <pre><code>$Special_characters = ('\n|\r|\t|\a|\"|\`')
  $Value = "g63evsy3swisnwhd83bs3hs9sn329hs\t"
  if($Value -match $Special_characters)
  {
      Write-Host "Special characters are present"
  }
  else
  {
      Write-Host "special characters are absent"
  }
  </code></pre>
  
  <p>The output says "special characters are absent" even though there are special characters at the end. How to resolve it?</p>