<?php $text = '{{"a":1},{"b":2},{"c":3},}'; preg_match_all( "/(\{[^{]+\})?[,}]/i", $text, $match); var_dump($match);
You have javascript disabled. You will not be able to edit any code.