ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoff Meakin" <>
Subject RE: replacing across lines
Date Fri, 19 Jul 2002 10:24:03 GMT
Ah it seems combinations of &#10; and &#13; do the job if any of you are
interested :)

Cheers - Geoff

-----Original Message-----
From: Geoff Meakin []
Sent: 19 July 2002 11:08 AM
Subject: replacing across lines

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: <>

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

View raw message