I need to capture the quotes in double quotation marks with RegEx in PHP. I tried to use recursion with line break in several ways, but to no avail. I browsed several topics and I researched how to do this, but so far I have not been able to.
Block example:
mes "teste de mensagem";
input "blablabla";
switch("este é um":"placeholder");
end script;
Last code I used:
[.*\n]?"(.+?)"[.*\n]?(?1)*?
To test I'm using: link
Remembering that there is no pattern for the rest, but what I need will always be inside a double-quoted string.
Thank you