Use replaceregexp task with replacing < by < and > by >
<replaceregexp file="filename" match="<a/>" 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]