I’m parsing a text file which has data in it.
Whenever is a text data, the data is inside quotes. Ex: ” any text here “
The problem is that inside the data I can have quotes too, but they will ALWAYS be followed by another quote. Ex: ” text, he said “”hello”” “
I’ve tried the following, with no sucess:
"(.+?)"(?!")
How can I define a REGEX that matches text data in that format?
P.S.: Don’t know if it helps or not, but each type of data is separated by ;
Referring to a previous post I made here you should be able to use something like: