From: Intransition Date: 2011-11-16T14:53:50+09:00 Subject: Re: Regex to divide document into sections? ------=_Part_814_12949588.1321422828075 Content-Type: multipart/alternative; boundary="----=_Part_815_9683867.1321422828075" ------=_Part_815_9683867.1321422828075 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit The actual content shouldn't really matter. Sorry, I should have been more clear about that. The key pattern that the regexp would have to depend on is the indentation. I would think there is a way, but I've tried a few times to get this and never quite get it. Maybe this is something that regexp's just can't do? ------=_Part_815_9683867.1321422828075 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit The actual content shouldn't really matter. Sorry, I should have been more clear about that. The key pattern that the regexp would have to depend on is the indentation.

I would think there is a way, but I've tried a few times to get this and never quite get it. Maybe this is something that regexp's just can't do?

------=_Part_815_9683867.1321422828075-- ------=_Part_814_12949588.1321422828075--