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.
Do a search for <space>{2,80} (that's literally a space, not the word space enclosed in angle brackets) with the *Use wildcards* checkbox enabled and replace with ^t. That'll replace any occurrence of anywhere from two to 80 spaces with a single tab character.
Mike
--
Mike Starr WriteStarr Information Services
Technical Writer - Online Help Developer - Technical Illustrator
Graphic Designer - Desktop Publisher - MS Office Expert
(262) 694-1028 - mike -at- writestarr -dot- com - http://www.writestarr.com
Victoria Wroblewski wrote:
> All,
>
> We've got a monster of a plain text file that is generated from our
> equipment that we need to format into something more professional
> looking. Basically, it spits out data that we want to format to look
> something like the following:
>
> 6.20 x.xxxx xxxx xxxxxxxxxxxxxxxxx
> 6.21 x = x.x
> 6.22 x.xxxx xxxx xxxxxxxxxxxxxxxxxxxxx
> 6.23 x = x.x
> 6.24 xx.xxxx xxxx xxxxxxxxxxxx
> 6.25 x = x.x
>
> The problem is that it spits this out as a text file with everything
> spaced using spaces, and not tabs. Makin' it pretty means going in and
> manually converting various lengths of spaces into tabs, or aligning it
> all with spaces (and it's been a "six of one, half a dozen of the other"
> experience using either method).
>
> Are there any tools out there that can deal with helping to convert this
> kind of stuff? I haven't been able to find a way to automate the
> removal of the spaces, since they can be different on each line, but I
> don't know if this type of edit is common enough where someone has put
> together any sort of application that will even do something like
> convert areas with more than two spaces into a tab rather than spaces.
>
> Anyone??
>
>
> Thanks,
>
>
> Victoria Wroblewski
> Developer - Technical Documentation
> Eagle Test Systems, Inc.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ComponentOne Doc-To-Help 2009 is your all-in-one authoring and publishing
solution. Author in Doc-To-Help's XML-based editor, Microsoft Word or
HTML and publish to the Web, Help systems or printed manuals. http://www.doctohelp.com
Help & Manual 5: The complete help authoring tool for individual
authors and teams. Professional power, intuitive interface. Write
once, publish to 8 formats. Multi-user authoring and version control! http://www.helpandmanual.com/
---
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-