title: How to represent a fix number of repeats in regular expression?
body: <p>I am wondering if there is a better to represent a fix amount of repeats in a regular expression. For example, if I just want to match exactly 14 letters/digits, I am using <code>^\w\w\w\w\w\w\w\w\w\w\w\w\w\w$</code> which will match a word like <code>UNL075BE499135</code> and not match <code>UNL075BE499135AAA</code>
  is there a handy way to do it? In am currently doing it in java but I guess this may apply to other language as well. Thanks in advance.</p>