ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jacobsen <>
Subject replace and replaceregexp - Multi line tokens or substitution expressions ?
Date Tue, 27 Mar 2007 21:05:11 GMT


I’m a techwriting who has been using ANT for Search/Replaces operations across loads
of HTML files using replace and replaceregexp.

Does anyone know if there is way for a token to include multiple lines?  I want to strip four
lines from HTML files.

 <p class="ListNumber" style>Delete me.</p>


I’m on Windows.

C:\RoboHelpTemp>java -version
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode)

C:\RoboHelpTemp>ant -v
Apache Ant version 1.7.0 compiled on December 13 2006

Don't get soaked.  Take a quick peek at the forecast 
 with theYahoo! Search weather shortcut.
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message