Looking for the equivalent of Ant Replace task in Nant
As far as I can tell, the filter features in NAnt is exactly what you're looking for. Supported by the <copy>
and <move>
tasks, you define token replacement expressions that will transform file content during file copy/move operations.