<SNIP, SNIP> >> What I want to do is replace any repeating spaces (two or more) with a >> tab. I know the examples below do not work but am just giving it as >> "pseudocode" of replacing repeating spaces (between 2 and 50) with a >> tab: >> >> s/<sp>[2..50]/\t/gi; >> >> or maybe hex value (hex 20 is the space character) >> >> s/\x20[2..50]/\t/gi; > > s/\s{2,}/\t/g;
Perfect, thank you very much. I knew I was close, but just couldn't get there. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]