I want to replace three values from files(12467abc,12467def,12467xyz).

<sample>IF(  TEXT( $User.ABC_USR_Brand__c )=&quot;Maruti&quot;,
&quot;/servlet/servlet.FileDownload?file=12467abc&quot;,
 IF ( TEXT($User.ABC_USR_Brand__c )=&quot;Maruti Suzuki&quot;,
&quot;/servlet/servlet.FileDownload?file=12467def&quot;,
&quot;/servlet/servlet.FileDownload?file=12467xyz&quot;))</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="
(?=&lt;group&gt;12467abc)(.*)(?=&lt;\/group&gt;)" replace="
&lt;group&gt;34567abc" flags="g"> <fileset dir="../src/store/"><include
name="*.xml"/></fileset> </replaceregexp>

Reply via email to