🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20168

search for/replacing with nuttiness

#20168
From: Jay Fraser
Date: Fri, 25 Oct 2002 14:49
5 lines
1174 bytes
I work with telephone directories, and the text files I receive usually have a series of periods instead of a single tab. I.e. 

AARON, Adam .....................555-1212 

I have a routine in which I replace 3 consecutive periods with a tab, then replace 5 consecutive tabs w/ a single tab, 4 tabs w/ a single, etc., until I get just one tab between the name and the phone number. I've been doing this manually, then yesterday (and last night) I tried writing a script....
Technical Details
Message-ID: <1de6523f.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!newsfeed.news2me.com!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,6f1a17dcb89c5d98
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-10-25 10:02:03 PST
From: "Jay Fraser" <jayfraser@yahoo.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!newsfeed.news2me.com!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: search for/replacing with nuttiness
Message-ID: <1de6523f.-1@WebX.la2eafNXanI>
Date: Fri, 25 Oct 2002 07:49:07 -0700
Lines: 10
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit