From: "trans. (T. Onoma)" Date: 2004-09-23T04:55:41+09:00 Subject: Re: not greedy enough On Wednesday 22 September 2004 03:36 pm, David A. Black wrote: > I think what you want is: match one or more consecutive occurrences > of -\n, stopping when one of them has an extra \n at the > end. > > Try this and see if it's close to what you need: > > /(^\ *-.*\n)+\n/ /(^\ *-.*\n)+\ *\n/ Perfect. A "many hairs" thanks! :) T.