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
ng. But it doesn't mean "maybe" in here. Now let's hope that your > post doesn't include .. > > Wouter > > Ps. I'm assuming you use perl compatible regexes (preg_*) and not POSIX > (ereg_*), don't know if this works for POSIX as well > > -

RE: [PHP] Need help with a regex

2003-09-21 Thread esctoday.com | Wouter van Vliet
et's hope that your post doesn't include .. Wouter Ps. I'm assuming you use perl compatible regexes (preg_*) and not POSIX (ereg_*), don't know if this works for POSIX as well -Original Message- From: Adam Zey [mailto:[EMAIL PROTECTED] Sent: Sunday, September 21, 2003 7:07 PM

[PHP] Need help with a regex

2003-09-21 Thread Adam Zey
I'm using the following regex: /([^<]*)<\/td>]*)>([^<]*)<\/span>([^<]*)<\/td><\/tr> ([^<]*)<\/td><\/tr>/ Everything works well, except I've ran into one problem. In the last text field, the bulk of the newsitem, sometimes the poster includes some HTML tags (Like "", but others could be inserted).