I was trying to match one word within double quotes but not outside. For instance:
"xxxxxxxxxxxxxx " , OneWord ; OneWord, "xxxxx , OneWord xxxxx". " OneWord 1" ---- " OneWord 2":
The expected match I need is
"xxxxx , OneWord xxxxx"
" OneWord 1"
" OneWord 2"
I had tried this
"(?:(?!OneWord)[^"])*(?(?=")\"\K|OneWord[^"]*")
Finally, I realized that the quotes not containing the OneWord match and it's just not showed. ex:"xxxxxxxxxxxxxx ". it matches but not showed. What I need is just to have the quotes containing the OneWord matched.
Is that possible?