title: How do I validate in js that a string only contains chars from multiple unicode ranges
body: <p><strong>I have an input field and I want to validate that the input is valid for multiple languages (and digits).</strong></p>
  
  <p>I've gathered some bits from the web but couldn't figure out how to combine these pieces into one working regex.</p>
  
  <p>From <a href="http://kourge.net/projects/regexp-unicode-block" rel="nofollow">here</a> I found some of the ranges I need:</p>
  
  <pre><code>0000-007F   Basic Latin
  0080-00FF   Latin-1 Supplement
  0100-017F   Latin Extended-A
  0180-024F   Latin Extended-B
  </code></pre>
  
  <p>From <a href="http://social.msdn.microsoft.com/Forums/en-US/0aaa8625-dbb7-417c-8dd8-794e404a7ebb/unicode-range-for-chinese-and-japanese-characters" rel="nofollow">here</a> I found the Japanese range:</p>
  
  <pre><code>4e00-9fbf, 3040-309f and 30a0-30ff
  </code></pre>
  
  <p>But how do I combine them to one regex (including digits) in javascript so I can validate that they are the only characters allowed? (I need more languages but if I need to understand the concept and then I can add more unicode ranges myself)</p>