Php versions – Regex | PHP capture each illegal double quote in a json string
Given the following json string: {"key":"val"ue","other":"invalid ""quo"te"} I want to capture each illegal double quote inside the values. In the example there is one double quote in the value of the key property and there are three double quotes in…