<replaceregexp file="hoge.txt" encoding="UTF-8" match="(xxx)" replace="\1${line.separator}abc
123" />