javascript - Regex to strip lat/long from a string -


Any regex to do a long / long strip with a string? Such as:

ID: 39.825 -86.88333

  var latlong = ' ID: 39.825 -86.88333 '; Var point = latin.match (/ - ?? ddtsa.) +++ g); // result: point = ['39.8825 ',' -86.88333 '];  

Comments