This can be done with ReplaceRegExp like:
<replaceregexp file="${src}/index.html" match="</copyright>.*?<copyright>" replace="wombat"/>