[ILUG] RE question...

Braun Brelin bbrelin at gmail.com
Thu Dec 15 23:03:35 GMT 2005


Okay,

so i'm trying to figure a regular expression to do the following:

Take a single (really long) line and break it up into 80 character
lines.  i.e. after every 80th character, insert a newline (or, if it's
HTML) insert a <br>

I'm trying to do it with vim and the : s// but I'll do it in Perl if I have to.

Anybody?

Braun



More information about the ILUG mailing list