title: Regex pattern for Indian currency to validate
body: <p>I had the following pattern for currency validation .</p>
  
  <pre><code>/(?:^\d{1,3}(?:\.?\d{3})*(?:,\d{2})?$)|(?:^\d{1,3}(?:,?\d{3})*(?:\.\d{2})?$)/
  </code></pre>
  
  <p>Which Validates: <code>987,654,321.00</code></p>
  
  <p>I need a pattern where it should validate Indian number system like </p>
  
  <pre><code>98,76,54,321.00
  </code></pre>
  
  <p>I want to allow the user to enter commas and one dot.</p>
  
  <p>I have few conditions.</p>
  
  <ol>
  <li>I should allow users to enter commas also</li>
  <li>The amount should not contain more than 2 decimal points.</li>
  <li>The amount should validate Indian numeric pattern i.e <code>98,76,54,321.00</code> but not <code>987,654,321.00</code>
  I have referred the below link <a href="https://stackoverflow.com/questions/5987550/regular-expression-for-indian-currency-validation-using-javascript">Duplicate</a> but not satisfies my requirement.I need  help in getting exact pattern
  Thanks,
  Karthik</li>
  </ol>