I'm using CFFile to read in a file, doing a REReplaceNoCase on some of the content, then using CFFile to write the new content back to the file. However it's adding blank lines in between every line. Which probably wouldn't be a huge problem, apart from the fact these files are full of blocks of <pre> code, so it's really affecting the display. How do I stop this happening?
I know there's the Search > Replace Double spacing with Single spacing option in CF Studio; something like that would be ideal. I'm guessing another regex to remove the line breaks or something. Duncan Cumming IT Manager http://www.alienationdesign.co.uk mailto:duncan.cumming@;alienationdesign.co.uk Tel: 0141 575 9700 Fax: 0141 575 9600 Creative solutions in a technical world ---------------------------------------------------------------------- Get your domain names online from: http://www.alienationdomains.co.uk Reseller options available! ---------------------------------------------------------------------- ---------------------------------------------------------------------- -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
