title: Trying to find groups of letters with regex
body: <p>I need to find 1 or more defined groups of characters enclosed in parentheses. If more than one group is present it will be separated with a hyphen.</p>
  
  <p>Example:</p>
  
  <pre><code>(us)
  (jp)
  (jp-us)
  (jp-us-eu)
  </code></pre>
  
  <p>I've figured out how to find the group if the string only contains one group:</p>
  
  <pre><code>/\(us\)|\(jp\)/
  </code></pre>
  
  <p>However, I am baffled when it comes to finding more than one, separated by a hypen and in no particular order: <code>(us-jp)</code> OR <code>(jp-us)</code></p>
  
  <p>Any help is appreciated.</p>
  
  <p>Thanks,
  Simon</p>