title: Javascript for regex to check for not contains with the starting with the string pattern
body: <p>I am trying to find the matching pattern in my phone no for not starts with some string.</p>
  
  <p>For example:</p>
  
  <ol>
  <li><p>Input: +551234467
  Pattern: Not start with +55</p></li>
  <li><p>Input: 557875756
  Pattern: Not start with 55</p></li>
  </ol>
  
  <p>So far I have tried many patterns and some gives result for only the strings without +.</p>
  
  <p><code>/[^(\+55)]/</code></p>
  
  <p><code>/^(?!\+55).*$/</code></p>
  
  <p><code>/[?!\+5|55]{2}/</code></p>
  
  <p><code>/[^\+55|^\+5|^55]/</code></p>
  
  <p>Someone please help me on this.
  Thank you.</p>