Converting space- to tab-delimited

Gregory Lypny gregory.lypny at videotron.ca
Mon Feb 28 13:59:31 EST 2005


Hello everyone,

I would greatly appreciated your help with choosing the regular 
expression I need to use in replaceText in order to convert a text file 
from space delimited to tab delimited when the number of spaces between 
words is not constant.

Here's an example of one line of input data.

word1 [3 spaces] word2 [5 spaces] word3 [2 spaces] cr

I'd like to convert that to

word1 [tab] word2 [tab] word3 [tab]

Regards,

	Greg




More information about the Use-livecode mailing list