I have this macro to clean up text
Find and Replace ‘([,;:\!\?])\1+’, ‘\1’, ‘aE’
Find and Replace ‘^\s*[,.;:\!\?]+‘, ‘’, ‘aE’
Find and Replace ‘(\(|\[) +’, ‘\1’, ‘aE’
Find and Replace ‘ +(\)|\])’, ‘\1’, ‘aE’
Find and Replace ‘(\(|\[)’, ‘ \1’, ‘aE’
Find and Replace ‘(\)|\])’, ‘\1 ’, ‘aE’
Find and Replace ‘\s*([,.;:\!\?\)\]])‘, ‘\1’, ‘aE’
Find and Replace ‘,([.;:\!\?])’, ‘\1’, ‘aE’
Find and Replace '(?<=[,.:;!?])(?=\p{Latin})', ' ', 'aE'
Find and Replace ‘ +’, ‘ ’, ‘aE’
Find and Replace ‘^[\t ]+|[\t ]+$’, ‘’, ‘aE'
Find and Replace ‘^[\t ]+|[\t ]+$’, ‘’, ‘aE'
which is applied to the whole text of the file.
Who can correct it , so that i can apply the clean up macro ONLY TO A SELECTED TEXT?
Thanks
lellius