I want to replace three values from files(12467abc,12467def,12467xyz).
<sample>IF( TEXT( $User.ABC_USR_Brand__c )="Maruti",
"/servlet/servlet.FileDownload?file=12467abc",
IF ( TEXT($User.ABC_USR_Brand__c )="Maruti Suzuki",
"/servlet/servlet.FileDownload?file=12467def",
"/servlet/servlet.FileDownload?file=12467xyz"))</sample>
I want to replace below values in above lines using build.xml file.
Replace:
12467abc => 34567abc
12467def => 34567def
12467xyz => 34567xyz
I have made this query please suggest. I will use below query two times as
there is two numbers to replace. <replaceregexp byline="false" match="
(?=<group>12467abc)(.*)(?=<\/group>)" replace="
<group>34567abc" flags="g"> <fileset dir="../src/store/"><include
name="*.xml"/></fileset> </replaceregexp>