title: Regex: find out first coordinate from a string of list of coordianates
body: <p>I have string </p>
  
  <p><code>"Polygon((85.04953560330497 27.767605311484253,84.79588729053454 27.769298229948298,84.7943200187415 27.5526903779245,85.0474690397788 27.55101288321816,85.04953560330497 27.767605311484253))"</code> </p>
  
  <p>I would like to get the first coordinate (in this case :85.04953560330497 27.767605311484253). To achieve the longitude value of 85.04953560330497 I executed a regex</p>
  
  <p><code>\(\d{2}\.\d{5}</code> and then got <code>var str = (85.04953</code> and later did <code>str.split('(');</code> to finally get only the number.</p>
  
  <p>But the problem is with Latitude <code>(27.5526903779245)</code>. What should I do to find out the first latitude. The problem is the number of decimal places are not fixed i.e. Here there are 13 digits after decimal in longitude<code>(85.04953560330497)</code>, but could be any number and cannot use digits after space (because there are other numbers too after space like <code>(27.769298229948298)</code>. </p>
  
  <p>I am a beginner to regex please help me find the solution.</p>