title: how to replace multiple characters in a string?
body: <p>how to replace multiple characters in a string? </p>
  
  <p>please help to fix the script </p>
  
  <p>I need to in the line "name" special characters have been replaced by the phrase "special char"</p>
  
  <pre><code>newName = replace(name, ['\', '/', ':', '*', '?', '"', '&lt;', '&gt;', '|'], 'special char')
  </code></pre>
  
  <p>but I get the message:</p>
  
  <blockquote>
    <p>invalid syntax</p>
  </blockquote>