"Henry Grech-Cini" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Thanks for that Mike,
>
> I was getting lost.
>
> Is there anyway to say
>
> Any characters excluding the sequence </fieldset>
>
> so I could do something like
>
> /<fieldset([^>]*)>(.* whilst not <\/fieldset>)<\/fieldset>/i
>
> Or alternatively is there a switch to say get the smallest sequence
>

? is what you're looking for. i.e.: .*? instead of just .*

/j

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to