Hi,

My 1st response should be why not used XSLT instead of Regex

But if you percist on Regex:
(?:<inner_tag>([^<]+)</inner_tag>\s*)+

Could help you.

Regards,

Arnaud.



Fabrizio Lippolis wrote on 12/01/2007 14:39:
> Hi list,
>
> sorry for bothering with a regular expression help but I am trying
> without success and I have to do it quickly. This is my problem, I
> have a XML file similar to this (for readability I write it indented
> but it's actually on one line):
>
> <some_tag>
>     <inner_tag>one</inner_tag>
>     <inner_tag>two</inner_tag>
>     <inner_tag>three</inner_tag>
>     ...
> </some_tag>
>
> where <inner_tag> can be repeated many times inside <some_tag>. I
> would like a regexp where I can get each occurrence of
> <inner_tag>some_text</innertag> separately.
>
> Please help if you can, thank you in advance.
>
> Fabrizio
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
-- 
Reclaim Your Inbox! http://www.mozilla.org/products/thunderbird

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to