Hi,
I am trying to find a pattern that allows me to avoid words within
quotations, eg "word1 word2 word3"
Word outside (without quotation) needs to have quotes added.
simplified as:
regEx.Pattern = "\b" & keyword & "\b"
regEx.Global = true
strWord = regEx.Replace(strng, chr(34) & keyword & chr(34))
input. word1 word2 word3 "word1 word2 word3"
output: "word1" "word2" "word3" "word1 word2 word3"
the patter to match string within quotes is """.*?""" ' but I need to have
it ignored.
Thanks in advance
Christian