The values I am after, are "412", "108", "107" and "2647"
The values of "sid":"796519" , "sid":"796726" etc are constant, these are my markers, the values before them change, e.g. "[{"1507785734000":412}]".
The larger value changes and is fixed in length e.g. "1507785734000". The value after that is the one of interest and it varies in size e.g. "412", "108", "107" and "2647".
So ideally I pass this string into a function and it extracts the date as below;
This uses the standard regular expressions library. http://en.cppreference.com/w/cpp/regex
This may be hard to grasp for a beginner in C++ who is also unfamiliar with regular expressions.