title: Regular expression for matching HH:MM - HH:MM
body: <p>I'd need a regex that would work like:</p>
  
  <blockquote>
    <p>HH:MM-HH:MM</p>
  </blockquote>
  
  <p>And I've found one regex here but that is just for HH:MM</p>
  
  <pre><code>(^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$)
  </code></pre>
  
  <p>Anyone how can help me since it's not my storgest area. I will use it in HTML-forms.</p>