I have a string:
This is a text, \"Your Balance left $0.10\", End 0
How can I extract the string in between the double quotes an
Unlike other answers, this supports escapes, e.g. "string with \" quote in it".
"string with \" quote in it"
$content = stripslashes(preg_match('/"((?:[^"]|\\\\.)*)"/'));