Quoting Matthew Somerville <[EMAIL PROTECTED]>: > > preg_match_all("| (.*): (.*),|U",$match[5].",",$matches,PREG_SET_ORDER); > > This doesn't catch Sunset, due to you forcing that comma. Try: > '| (.*): (.*)(,|\.|$)|U' > (I can't remember if I put the full stop in there just in case, or if I had > an actual example using it, sorry.)
Ah it does though as I add a "," to the end of the subject which catches the sunset. Cheers John - Sent via the backstage.bbc.co.uk discussion group. To unsubscribe, please visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html. Unofficial list archive: http://www.mail-archive.com/backstage@lists.bbc.co.uk/