ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AparnaSDoshi <aaparnado...@yahoo.com>
Subject Re: Replace string in file
Date Fri, 30 May 2008 10:29:07 GMT

Use replaceregexp  task with replacing < by &lt; and > by &gt;

<replaceregexp  file="filename" match="&lt;a/&gt;" replace=" " flags="g"
byline="true"/>


Raja Nagendra Kumar wrote:
> 
> Use replace task
> 
> 	      <replace file="@{lFileName}"
> 			     token="ANT_TOKEN_IMAGES_ROOT_DIR"
> 			     value="${IMAGES_ROOT}"/>
> 
> Regards,
> Nagendra
> 

-- 
View this message in context: http://www.nabble.com/Replace-string-in-file-tp17187373p17555897.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message