Text formatting
Posted: Sun Oct 28, 2012 2:16 pm
I face the job of cleaning up malformed essays.
some of the writers leave no space after the full stop and other have an extra space before... same for commas, exclamation marks and question marks.
my question, is how to create a filter that removes unwanted space between the words and the full stop point, and adds one space after it, doing it to the entire block of text BUT skipping email addresses and URLs...
thank for any hints
some of the writers leave no space after the full stop and other have an extra space before... same for commas, exclamation marks and question marks.
my question, is how to create a filter that removes unwanted space between the words and the full stop point, and adds one space after it, doing it to the entire block of text BUT skipping email addresses and URLs...
thank for any hints