ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoff Meakin" <>
Subject replacing across lines
Date Fri, 19 Jul 2002 10:07:49 GMT
Is there any way to use <replace> across lines

e.g. I have a bit of html which goes

<span style="font-weight: normal">text

I want to remove the [span] tags to read:


I can't use
<replace dir="..." value="" token="&lt;span style=&quot;font-weight:
<replace dir="..." value="" token="&lt;/span&gt;">...</replace>

as this will remove other </span>s that are wanted

is there anyway to match the equiv of /n and/or /r so that I could do
something like:

<replace dir="..."
         token="&lt;span style=&quot;font-weight:

Thanks for your help!

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message