title: Find a record, but to ignore the listed characters when comparing (for example ?% $ @ & )with the article title in database
body: <p>Salutation!
  In the database, the article name is stored with a question mark at the end(Is life after death?). How to  write a regular expression correctly so that the search does not take into account the characters in brackets, i.e. the question mark and others too?</p>
  
  <p>The option below does not work.</p>
  
  <pre><code>$article="Is life after death";
  $sth = "SELECT * FROM articles WHERE article REGEXP '/.'?'[?%$@&amp;]./'";
  $sth = $dbh-&gt;prepare($sth);
  
  $sth-&gt;bindParam(1, $article, PDO::PARAM_STR);
  $sth-&gt;execute();
  </code></pre>
  
  <p>It is necessary for the code to find the article name in the database using the name from the $article variable, even if the article in the database looks like this: %#Is life? after death?&amp;.</p>