Hi,
the core goal was to replace a specific field option in around 1000 dcr's based on entries in an excel sheet,i am able to get the values from excel sheet and apply some conditional statements ,the problem is that regex for matching the path doesnt work ,may be i am missing something simple here ,i am putting the same dcr xml and regex code below
DCR XML PART:-
[php]
http://www.yahoo.com[/php]
REGEX CODE:-(if it works then i can easily replace $3 with value collected from excel sheet
[php]
if($line=~/(.*)(\s*)(.*)(<\/value>)(.*)/)
[/php]
it doesnt print any test print statements kept inside the loop
the control enters the if loop and prints test statements if i do regex like this
but then the value field trapping doesnt work
[php]
if($line=~/(.*)()(.*)/)
[/php]
it seems like some multiline regex issue ,i searched on google but couldnt really get it working
Looking forward for some guidance from experts?
Regards,
Mav