[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [StrongED] Regular Search and Replace on a key?
In message <50e1531249barry@xxxxxxxxxxxxx> you wrote:
> I regularly wish to turn a 'TAB' separated document into a Comma
> Separated Value document. I do this by searching for a TAB (/t) and
> replacing with a comma (",").
>
> Is it possible to put this search and replace on a key?
Do you want to do this to TABs occurring inside strings as well?
If yes, OK. Otherwise you have a bit more than a straight
search-and-replace on your hands.
CSV and TSV are notoriously tricky formats to get completely
right. I can whip you up a parser expression grammar script for
StrongED that will do the right thing, but I doubt whether I could
do it with StrongED's built in operations.
--
Gavin Wraith (gavin@xxxxxxxxxxxxxxx)
Home page: http://www.wra1th.plus.com/
--
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx