I'm trying to remove all the new lines and/or lines full of tabs or white
space from a file ... its not working however... I've used the following
code.
<replaceregexp file="${outputFile}"
match="^[ \t\n]+$"
replace=""
byline="true"/>
but I've got nothing. I originally posted on the coderanch forums
(http://www.coderanch.com/t/471737/Ant-Maven-Other-Build-Tools/Regular-expression-deleting-new-lines)
and have gotten no reply so I've come here for help... any ideas?
--
View this message in context:
http://old.nabble.com/Regular-expression-for-deleting-new-lines-with-Ant-tp26421426p26421426.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]