Posted by Rik on 03/02/07 18:18
On Fri, 02 Mar 2007 18:46:54 +0100, Toby A Inkster = <usenet200702@tobyinkster.co.uk> wrote: > Ulrich Schmidt-Goertz wrote: > >> preg_match('<title>(.*)</title>', $text, $matches); > > <title lang=3D"en">My title</title> Yup, [^>]* works wonders in HTML matching. -- = Rik Wasmus
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming