Re: Getting Rid of Multiple Returns

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39442
interpreted = N
texte = on 10/17/01 8:28 pm, Velma Kahn at velma@swva.net so noted...> Has anyone been successful in getting out multiple returns from a text file > or an HTML file, using GREP or CONVERTCHARS (or any other method)? I want > to find all cases where there are 2 or more returns, and replace them with > one return. Nothing I've tried has worked so far. Unfortunately, my > development machine is Win2000 and my live machine is a Mac, so even if I > get it working in development maybe it won't work on the Mac. This does the trick (but then, I dev and serve on a Mac ; )[grep search=%0D%0D*&replace=%0D][sourceText][/grep] Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Getting Rid of Multiple Returns (Velma Kahn 2001)
  2. Re: Getting Rid of Multiple Returns (Rob Marquardt 2001)
  3. Re: Getting Rid of Multiple Returns (Joseph Sullivan 2001)
  4. Getting Rid of Multiple Returns (Velma Kahn 2001)
on 10/17/01 8:28 pm, Velma Kahn at velma@swva.net so noted...> Has anyone been successful in getting out multiple returns from a text file > or an HTML file, using GREP or CONVERTCHARS (or any other method)? I want > to find all cases where there are 2 or more returns, and replace them with > one return. Nothing I've tried has worked so far. Unfortunately, my > development machine is Win2000 and my live machine is a Mac, so even if I > get it working in development maybe it won't work on the Mac. This does the trick (but then, I dev and serve on a Mac ; )[grep search=%0D%0D*&replace=%0D][sourceText][/grep] Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Rob Marquardt

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[ConvertChars] problem (1997) Multiple prices (1997) Empty Shopping Carts? (1998) Subtotal and Grand Total Changes (2000) [WebDNA] El Capitan (2017) WC2b15 File Corruption (1997) WC2.0 Memory Requirements (1997) WebCat B13 Mac CGI -- Frames question (1997) [Sum] function? (1997) WebCat2b12 Mac.acgi--[searchstring] bug (1997) Three new problems, maybe a fourth (1997) WebCatalog for guestbook ? (1997) Non-Cart Files in Shopping Cart Folder (1997) Version f1 status (1997) Carrying Forward (1998) WebCat2b15MacPlugin - showing [math] (1997) email preferences on NT (1997) WebCatalog for Postcards ? (1997) createfolder not behaving as expected (1999) frames & carts (1997)