I'm having difficulty with matching a string literal with both newline(\n) and carriage return(\r) characters. For example:
"132 Holt Court, Cashtown, Rhode Island, 7680 \n\r"
What I tried is
\"([^\\\"]|\\.)*\"
But this regex can only match the string above without \r
. Can anyone help me with this one?
Thank you.