title: Regular Expression Library for C++03
body: <p>I have a string of this format that I need to verify:</p>
  
  <blockquote>
    <p>H12345-001</p>
  </blockquote>
  
  <p>Here the first character should be an alphabetical character followed by 5 digits, then a dash (<code>-</code>), then two zeroes and finally a digit.</p>
  
  <p>I am not sure if regex is right choice or can do it in a naive way of comparing each character. If regex is right way to go can someone point out to an example tutorials to use it. I am using C++03 (i.e. no C++11).</p>