title: Regexp for slightly different strings in javascript if condition
body: <p>So i am getting in loop with this problem, that should be relatively easy, the problem is that i have slightly different strings that came from Database:</p>
  
  <blockquote>
    <p>Honda VIP..., Honda LL Ultra..., Honda LL..., Honda LL start 5000i, Honda LL ultra 5000i</p>
  </blockquote>
  
  <p>where i present image1.svg if the string that comes is (Honda VIP..., Honda LL Ultra..., Honda LL...)
  or i present image2.svg is the image tha comes is exactly (Honda LL start 5000i, Honda LL ultra 5000i)</p>
  
  <p>my code is:</p>
  
  <pre><code>...
  
  else if (panel.match(/Honda VIP|Honda LL Ultra|Honda LL/i)) {
     return 'asset/image1.svg';
  else if (panel.match(/Honda LL start 5000i|Honda LL ultra 5000i/i))
     return 'asset/image2.svg';
  </code></pre>
  
  <p>but the return is always image1, because if falls in "Honda LL" or "Honda LL ultra". i've tried to use \s+ into white spaces of the second else if:</p>
  
  <pre><code>panel.match(/Honda LL\s+start\s+5000i|Honda LL\s+ultra\s+5000i/i)
  </code></pre>
  
  <p>but no results.</p>
  
  <p>Can someone help me on that?</p>