T
tante.v
I'm trying to search for instances of "St" in the middle of a word
(uppercase S, lowercase t) so that I can use Find and Replace to
correct the casing (as in firSt, laSt). I've come up with the
following regular expression string which almost works:
[!(<)( )(")(')^13]St
It was necessary to add so many exclusions to prevent it from giving
me "St" at the beginning of a word or line, after initial quotes, etc.
So, this works well except that it highlights not just "St", but the
letter preceding it: "rSt", "aSt". This prevents me from using Find
and Replace to replace "St" with "st". I can't seem to get a wildcard
like
?st to work in the Replace box, so I'm stuck. What is it about my
regex string that says "return the letter preceding the string I'm
looking for too"?
Thanks in advance.
(uppercase S, lowercase t) so that I can use Find and Replace to
correct the casing (as in firSt, laSt). I've come up with the
following regular expression string which almost works:
[!(<)( )(")(')^13]St
It was necessary to add so many exclusions to prevent it from giving
me "St" at the beginning of a word or line, after initial quotes, etc.
So, this works well except that it highlights not just "St", but the
letter preceding it: "rSt", "aSt". This prevents me from using Find
and Replace to replace "St" with "st". I can't seem to get a wildcard
like
?st to work in the Replace box, so I'm stuck. What is it about my
regex string that says "return the letter preceding the string I'm
looking for too"?
Thanks in advance.