Hey guys,
can someone of you help me please, I am having some problem wiht a HTML tag parser.
I am trying to fetch a html page to extract the content of a section contained between <div class=text> TEXT TO PARSE </div>. After this, other tags use DIV's but none use class=text.
I am trying to use
eregi("<div class=text>(.*)</div>",$html_to_parse,$array_in_return)
but $array_in_return[1] starts right after the correct opening BUT ends way further the first </div> closure.
Anyone can help me with this parsing?
Thanks,
Vin