#include <cstdio>
#include <iostream>
#include <vector>
#include <string>

typedef struct {
	double x1,y1,x2,y2; } Point;

void readvals(const char*s,std::vector<Point>&v)
{
    int n = 0;
    Point p;
    while (2 == sscanf(s += n, "%*[^']'%lf','%lf'%n", &p.x1, &p.y1, &n)
    		&&
    	   2 == sscanf(s += n, "%*[^']'%lf','%lf'%n", &p.x2, &p.y2, &n)
    	)
       v.push_back(p);
}

int main()
{
  std::vector<Point> v;
  std::string s="[['1.81592098644987','52.5487429714954'],['-1.81592290792183','52.5487234624632'],['-99.88','77.66'],['-0.55','44.33']]";
  readvals(s.c_str(),v);
  for(auto const &p: v) std::cout << p.x1 << p.y1 << p.x2 << p.y2 << '\n';
  return 0;
}
