Hi, how can I identify a single line no longer than e.g. 60 characters preceded and followed by a blank line via regexs. This way I want to identify section headings. What I did was mark every blank line with >>> %s/^$/>>>/ and than chomp the CR %s/\n//g and if the text >>> between the >>>'s isn't longer than 60 characters put it into >>> \section{}, and replace every >>> with \r\r. But in larger files this takes a while. Is there a smarter solution to the problem?
Thanks in advance Chris