title: What regex expression will check GPS values?
body: <p>I'm letting users enter GPS values through a form, they all have the same form, some examples:</p>
  
  <pre><code>49.082243,19.302628  
  
  48.234142,19.200423  
  
  49.002524,19.312578
  </code></pre>
  
  <p>I want to check the entered value using PHP (using <code>preg_match()</code>, I guess), but as I'm not good in regex expressions (oh, dumb me, I should finally learn it, I know), I don't know how to write the expression.</p>
  
  <p>Obviously it should be:<br>
  2x (numbers), 1x (dot), 6x (numbers), 1x (comma), 2x (numbers), 1x (dot), 6x (numbers)</p>
  
  <p>Any suggestions how to write this in regex?</p>