Need a regular expression to find the text between the following two examples disregarding the escaped quotes:
TestNode1="HERE IS THE TEXT I WANT RETURNED"
TestNode2=\"HERE IS THE TEXT I WANT RETURNED\"
I have this, but it is not working for escaped characters correctly:
"(?:[^\\"]+|\\.)*"
I am expecting the following return for BOTH testnodes (1 or 2):
HERE IS THE TEXT I WANT RETURNED
Use regex pattern
or
depends on what environment you are using…