From: "Jon Freeman" <[EMAIL PROTECTED]> > I've just had another thought. Every tune starts X: A further replace of X: > for CR/LF X: might do the trick as I don't suppose you care how many blank > lines end up between tunes. > > Still, whatever you did, I'm sure you are right that there will be cases > that fail and a simple approach like this would never deal with something > like the http://www.ibiblio.org/fiddlers/AA_ABEL.htm example you gave.
And yet another thought. I can't claim to understand it but I gather you work with Perl. How about something like this http://www.perldoc.com/perl5.6/lib/HTML/Parser.html? To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html