code: private static function parseDecimalDegreesWithoutCardinalLetters(string $string, Ellipsoid $ellipsoid = null)
      {
          // The most simple format: decimal degrees without cardinal letters,
          // e. g. "52.5, 13.5" or "53.25732 14.24984"
          if (preg_match('/(-?\d{1,2}\.?\d*)°?[, ]\s*(-?\d{1,3}\.?\d*)°?/u', $string, $match) === 1) {
              return new Coordinate((float)$match[1], (float)$match[2], $ellipsoid);
          }
  
          return null;
      }
docs: @param string $string
  @param Ellipsoid $ellipsoid
  
  @return Coordinate|null
  @throws InvalidArgumentException