title: Regex pattern that matches any number include 1-9 except 2
body: <p>I need a regular expression pattern that matches any number including 1-9 numbers except 2?</p>
  
  <p>My attempt:</p>
  
  <pre><code>([1-9][^2])
  </code></pre>
  
  <p>But this doesn't work for me.</p>