Page 1 of 1

Removing commas with exceptions

Posted: Sat Sep 09, 2006 9:25 pm
by textlearner
Hi again,

I'd like to remove all commas except for instances shown below:

", The"

",The"

Is this possible?

tia

Posted: Sat Sep 09, 2006 10:30 pm
by Bob Hansen
Try this, untested......

Search for: ,( [^t])
Replace with: \1

Note, there is a space character in the Search string before the "["

Posted: Sat Sep 09, 2006 11:07 pm
by textlearner
thanks it removed some, but some still remain at the end of sentences.

Posted: Sun Sep 10, 2006 3:20 am
by Bob Hansen
Provide a sample of what still needs to be done.