When you doing this, just remember, a 'match' is consecutive characters ...
dont fall into the trap of thinking you can 'exclude' a string... what your
actually doing is creating two matches.
Now, as far as your problem, probably something like this will work....
(tested it with expresso, singleline ignore case settings)
The match string is --> (?<pre>.*?)(")(?<inner>.*?)(")(?<post>)
the replacement string is --> ${pre}"${inner}"${post}
Pretty easy to modify to do whatever else you might want, I definitely
recommend downloading Expresso, its free and really helps with RegExs.
"Jay S" <ja*@eatspammersforlunch.com> wrote in message
news:um**************@TK2MSFTNGP15.phx.gbl...
Hi,
Can't figure out the following:
<concept>
I want to match a specified string followed by any string that is *not* a
different specified string.
</concept>
<specific example>
strA = "value=""
strB = (anything other than strC, i.e. anything that is not """)
strC = """
Sample string: value="Some text & punc. here!"
Desired replacement: value="Some text & punc. here!"
It's not sufficient to simply replace """ with "\"" since I don't
want
to replace all instances of """ in a given file.
</specific example>
Thanks for any help.
Jay