title: Regex match with 3 condition?
body: <p>I will creating math program .If i wish to solve i need separate to the equation using with regex.
  <strong><em>For example:</em></strong></p>
  
  <pre><code>     `10x-10y2+100x-100k=100`   
  </code></pre>
  
  <p>the format will separate with regex <code>output: "10x" ,"100x" ,"100k" ,"10y2","100"</code></p>
  
  <p>I have already code for that with separate match function</p>
  
  <p><strong><em>There are:</em></strong></p>
  
  <pre><code>           for num[a-z]num : ` /([\-+])?\s*(\d+)?([a-z]?(\d+))/g`
             for num[a-z]    : ` /([\-+])?\s*(\d+)?([a-z]?(\d+))/g`
             fon num         : `/\b[+-]?[\d]+\b/g`
  </code></pre>
  
  <p>I need all this three match function within one regex match function.some one help to combine the code with single regex expression</p>
  
  <blockquote>
    <p>Note :i need match function only  not a split beacause i apply that regex expression into parser</p>
  </blockquote>
  
  <p>Thank You.</p>