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:

Display [price] in banner ad (1998) WebCat2b13 Command Reference Doc error (1997) WebCat chatroom (1997) Replace context problem ... (1997) two unique banners on one page (1997) searchable list archive (1997) [WebDNA] Downloadable docs (2011) WebCat2 - Getting to the browser's username/password data (1997) WebDNA to Apache RewriteMap (2005) problem serving foreign languages text (1997) Summing fields (1997) E-Mail Preferences in Admin Folder (1997) Shipping Help! (1998) Applescript and OSX (2003) Emailer (1997) $append (1998) Formvariables and Sendmail? (2000) [WebDNA] divisible by 1 (2011) Help! WebCat2 bug (1997) Explorer oddities (1997)