TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:Re: remove spaces from Word From:sphilip <philstokes03 -at- googlemail -dot- com> To:"techwr-l -at- lists -dot- techwr-l -dot- com (techwr-l -at- lists -dot- techwr-l -dot- com)" <techwr-l -at- lists -dot- techwr-l -dot- com> Date:Thu, 21 Mar 2013 22:35:56 +0700
Richard Combs wrote:
> Just remember to run it multiple times in case there are instances of three, four, or more spaces. Run it until Words tells you the Find string wasn't found.
In fact, this is what occasioned the question. In sed I can do all that in one command, with something like
sed s/' \{2,9\}/ '/g
which will take out anything from 2 up to 9 spaces (9 is arbitrary - I just figure I'm not going to find more than that, but I could make that final number anything up t o 255).
What I was wondering was which was the least work : convert all the word files into plain text, run them through sed, put them back into Word OR could I do it all in Word with an already existing macro?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
EPUB Webinar: Join STC Vice President Nicky Bleiel as she discusses tips for creating EPUB, the file format used for e-readers, tablets, smartphones, and more.