On 1/12/2011 10:55 AM, Daniel Convissor wrote: > On Wed, Jan 12, 2011 at 10:00:49AM -0500, justin wrote: > >> /<p(\s+[^>]*)?>.*?<\/p>/s > > Uh, what's the ? doing there after the .* in the middle? The .* is all > that's needed. Ungreedy match. Dan