Re: [PHP] Need help with a regex

2003-09-21 Thread Curt Zirzow
* Thus wrote Adam Zey ([EMAIL PROTECTED]): > Thanks, that did the trick :) > > Only thing was I had to modify it for newline support: > > ([^<]*)<\/td> class='newsitemposter-td'> class=([^>]*)>([^<]*)<\/span>([^<]*)<\/td><\/tr> class='newsitemcontent-td' colspan=2>((.|\n)*?)<\/td><\/tr> For new

Re: [PHP] Need help with a regex

2003-09-21 Thread Adam Zey
Thanks, that did the trick :) Only thing was I had to modify it for newline support: ([^<]*)<\/td>]*)>([^<]*)<\/span>([^<]*)<\/td><\/tr> ((.|\n)*?)<\/td><\/tr> Regards, Adam. "Esctoday.Com | Wouter Van Vliet" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Pretty easy, just make t

RE: [PHP] Need help with a regex

2003-09-21 Thread esctoday.com | Wouter van Vliet
Pretty easy, just make the regex stuff a little less greedy .. ;) class='newsitemcontent-td' colspan=2>(.*?)<\/td><\/tr>/ That would catch it .. And yes, the question mark is both correct and confusing. But it doesn't mean "maybe" in here. Now let's hope that your post doesn't include .. Wout