title: Regex for getting character within a pattern
body: <p>I have a pattern like</p>
  
  <p>(any text) XX:XX AM - XX:XX PM (any text)</p>
  
  <p>where X is a number between 0 and 9 and the number can 1 or two character (ex: 12:45 or 1:20)</p>
  
  <p>I need to find a regex to find the - (dash character) in between that pattern.</p>
  
  <p>I'm new but this was my simple RegEx to find the above pattern:</p>
  
  <blockquote>
  <pre><code>([\d]{1,2}:[\d]{1,2}|[\d]{1,2}:[\d]{1,2} [aApP][mM])(.*?)([\d]{1,2}:[\d]{1,2}|[\d]{1,2}:[\d]{1,2} [aApP][mM])
  </code></pre>
  </blockquote>
  
  <p>This doesn't get me my ultimate goal of just finding the dash in the middle of the pattern. </p>