Re[2]: [PHP] Regular Expression Problem

2007-01-24 Thread Richard Luckhurst
Hi Jochem, JM> JM> you be needing an ungreedy modifier on yer regex. JM> JM> see here: JM> http://php.net/manual/en/reference.pcre.pattern.modifiers.php RL Thanks very much. That solved my problem and I my now getting exactly what I RL want. I had seen the reference to greedy and ungre

Re[2]: [PHP] Regular Expression Problem

2007-01-24 Thread Richard Luckhurst
Hi Roman, RN> Are you doing this to learn regular expressions or are you actually RN> trying to do work? Because you're going the wrong way. RN> It's XML, why do you treat it as text? I am well aware it is XML and I could use an XML parser or simpleXML. I am trying to learn regular expressions as