Grep and convertchars

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 53857
interpreted = N
texte = Hi all Somehow I cant get grep to work properly. I need to change every email address on a text and convert it. So doing a: [grep search=3D([A-z0-9_\-\.]*@[A-z0-9_\-\.][A-z0-9_\-\.]*)&replace=3D\1] Works fine. But then when trying to use this: [grep=20 search=3D([A-z0-9_\-\.]*@[A-z0-9_\-\.][A-z0-9_\-\.]*)&replace=3D[ConvertChars db=3Dchangemail.db]\1[/ConvertChars]] It fails. I guess my logic behind this fails, right? WebDNa can not be used on a grep pattern or alike. Any other solution? I need to find every email address in a text and change it. I thought grep would do the job. Nitai -- Redakto - Content Management that simply works ComputerOil=AE GmbH Unionstrasse 4 8032 Z=FCrich / Switzerland Telefon +41 (0)844 44 55 66 info@computeroil.com http://computeroil.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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Grep and convertchars ( Brian Fries 2003)
  2. Re: Grep and convertchars ( devaulw@onebox.com 2003)
  3. Grep and convertchars ( "Nitai @ ComputerOil" 2003)
Hi all Somehow I cant get grep to work properly. I need to change every email address on a text and convert it. So doing a: [grep search=3D([A-z0-9_\-\.]*@[A-z0-9_\-\.][A-z0-9_\-\.]*)&replace=3D\1] Works fine. But then when trying to use this: [grep=20 search=3D([A-z0-9_\-\.]*@[A-z0-9_\-\.][A-z0-9_\-\.]*)&replace=3D[ConvertChars db=3Dchangemail.db]\1[/ConvertChars]] It fails. I guess my logic behind this fails, right? WebDNa can not be used on a grep pattern or alike. Any other solution? I need to find every email address in a text and change it. I thought grep would do the job. Nitai -- Redakto - Content Management that simply works ComputerOil=AE GmbH Unionstrasse 4 8032 Z=FCrich / Switzerland Telefon +41 (0)844 44 55 66 info@computeroil.com http://computeroil.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://webdna.smithmicro.com/ "Nitai @ ComputerOil"

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:

PSC recommends what date format yr 2000??? (1997) [WebDNA] Announcing the new features for the next WebDNA version (2015) WebCat2b12 Mac.acgi--[searchstring] bug (1997) [subtotal] problems -- help? (1998) image magick (2003) emailer (1997) & in Lookups (1997) More on the email templates (1997) security (1997) Variables for chat (1997) Search Context Strips URL chrs.? (1999) why is this line in GeneralStore? (1998) Max Record length (1997) Wierd thing in ViewOrder.tpl (1999) Dates and range searches (2002) WebCat2b12plugin - [search] is broken ... not! (1997) ThisURL (2000) ShippingCosts (1998) Dummy Credit Card Number for debug? (1997) How do I get Google to crawl a WebCat site? (2003)