C
CyberTaz
Thanks John - I realized the logic shortly after I sent the question
Regards |:>)
Bob Jones
[MVP] Office:Mac
Regards |:>)
Bob Jones
[MVP] Office:Mac
Hi Bob:
Why the %'s? Simple: Much input text is a "mixture" of wrong and right.
If you search for period-one-space and turn it into period-two-spaces, you
will get period-three-spaces wherever the original was correct in the first
place.
To be consistently wrong, you need to search for period and two and flag
them, then search for period and one and expand them.
Or, if you must, search for period-1 and expand them, then period-3 and
contract them
Yes, if you are really good at wild-cards, you can specify a "list".
So "[!.?] " and replace with "^& " where ^& is "the text returned by the
Find What expression".
But I can never remember that one...
And you are an absolute failure at biting your tongue... I have seen you in
action
Cheers
Hey John -
If nothing else I'm more accomplished than thee a biting mine tongue;-)
BTW - Why put in the %s? Find (. ) Replace With (. ) seems to wok just fine
in the more recent vintages. There must be a way to do a global for any end
punctuation (!, ?, .) & replace just the following characters Like I said in
my reply I know how to do the Find but coding the Replace while retaining
the same punctuation character escapes me.
Regards |:>)
Bob Jones
[MVP] Office:Mac