Appreciate if you could help me with this regep problem that is driving
me crazy.
I have a string $str and I want to grab the word APPLE:
...
...
I like APPLES !! </B></FONT>
...
...
Then I code my regep in php:
eregi("APPLES(.*)</B></FONT>",$str,$store);
However I got MORE than APPLES in $store as there are tonnes of
</B></FONT> elsewhere in $str !!
How do I limit the regep so that it stop after the first </B></FONT> ??
Appreciate your prompt reply
rgds.
Zon Hisham