i'm trying to pull all the instances of stuff between, <EG>for example</EG>, tags from a txt file. BUT... i can't get my reg ex to stop at the first closing tag <EMOTION>argh</EMOTION>.
so, here's where i'm at: eregi("<TAG>.*[<]", $read_file, $stuff_between_tags);
i've tried alot of variations but it either pulls everything into $stuff_between_tags[0] or it's nothing.
[help] would be grteatly appreciaTED.
NICK