Sorry I forgot the outside ()
((<[^>]+>)+)
Michael
---- Santosh Pai < santosh%40quagnito.com">santosh
quagnito.com> wrote:
=============
Hi All,
I have a file with the following format
["100","200","<b>Try again.</b><br><br><tag></tag>Although I."],
["100","200","<b>Yes.</b><br><br><mytag></mytag><mytag></mytag>After
multiple revisions"],
["100","200","<b>Right on!</b><br><br>Unusual anatomy."],
["100","200","<b>Try again.</b><br><br>Rheumatoid "],
["100","200","<b>Right on!</b><br><br>Extreme "],
["100","200","<b>Way to go!</b><br><br>A condition "]
I need a regex construct which matches all tags, i.e<.*?>. But I would
want successive tags to be grouped together, i.e if <.*?> is immediately
followed by another tag (and another..and another ) then it should be
clubbed together. So in short...if a tag is *immediately* followed by a
tag n times..they should be a in single block.
Can anyone help me out here? I am a bit poor with regex..
thanks
--pai
.