title: Perl regex /foo|bar/ negation
body: <pre><code>/\d/         # contains a digit
  /^\D*$/      # doesn't contain a digit
  
  /[abc]/      # contains either the letter a, b, or c
  /^[^abc]*$/  # doesn't contain a, b, or c
  
  /foo|bar/    # contains foo or bar
  /???????/    # doesn't contain foo or bar
  </code></pre>
  
  <p>Who can help me with this? I couldn't find any solution but I need a regex to negate this <strong>without</strong> any programmable logic.</p>