I have the following string:
$string = '
Test1,One line
Test2,"Two lines
Hello"
Test3,One line
';
I want to trim new lines within double quotation marks. So the end results will be:
$string = '
Test1,One line
Test2,"Two lines Hello"
Test3,One line
';
What's the regex approach to this?