View Single Post
 
Old 12-15-2015, 08:41 PM
paik1002 paik1002 is offline Windows 7 64bit Office 2010 64bit
Advanced Beginner
 
Join Date: Dec 2015
Posts: 63
paik1002 is on a distinguished road
Default Triming a text selection front and back

I'd like to trim everything at the front and rear of a text selection, that is not:
1. alphanumeric characters
2. () [] {} <>
3. ending punctuation marks such as . ! ? : ;

FYI, a selection can have multiple carriage returns at the end of the selection. I'd like to get rid all but one of them as well.

Could it be done using macros?
Reply With Quote