[nycphp-talk] Question about REGEX's...
Anthony Papillion
anthony at adcl.biz
Tue Nov 28 19:24:27 EST 2006
Hello Everyone,
I am using the following regex to retrieve text between two <div> tags.
$trans_text = preg_match(/<div id=result_box dir=ltr>(.+?)</div>/);
However, the parser keeps telling me it expects a ) but found / instead. What am I doing wrong?
Can anyone please help a regex newbie in his quest? lol
Thanks,
Anthony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20061128/80759d6b/attachment.html>
More information about the talk
mailing list