Hi everyone, here is the rquirement, I have to add pathid in datacapture.cfg file. here is the scenario with example, ##### item max="6" min="1" name= "phone"> I have to change it to...#####item max="6" min="1" name= "phone" pathid="phone">Here is my perl code..my $temp="pathid";$xmltext =~ s/(].*?)/$1 /gi;$xmltext =~ s/(name)([^>].*?)/name$2 $temp$2/gi;With this script, I am able to get ...#####item max="6" min="1" name= pathid= "phone"> I had played around with this code in all possible ways I know, but result is same. I need help from this forum.Thanks in advance,