Hi Jose
Thank you for your last reply. It did work. But now I have to make some changes in my lines: By example:
<sm:a> <sm:b> BBB </sm:b> <sm:cs> <sm:c no="1"> CCC1 </sm:c> <sm:c no="2"> CCC2 </sm:c> </sm:cs> </sm:a>
As you can see, I put <sm:cs> wich means more <sm:c>s. I prefer this form // .. // of regexp. How should I change it to match all lines which contain 'sm:', no matter of following characters ?
Graf Laszlo
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>