i have a little problem with useing regular expressions in ANT. I have two XML files which have a strcture like that:
XML file 1:
<testtag id="2234">
<blabla>data</blabla>
    </testtag>
XML file 2:
<testtag id="2234">
    <blabla>data2</blabla>
        </testtag>
Now i need an regular expression for ANT which selects all data between the testtags which have the same id and put them together in one final XML file. I tried a few differnt regular expression but nothing worked..
 
     
     
    