Re: Grep and removing text

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45186
interpreted = N
texte = Nitai @ ComputerOil wrote: ... > > Ok, I have tried this: > > [grep search=--[a-zA-Z0-9_]+--&replace=]some text[/grep]Just a long shot or two (my WebCatalog doesn't support grep, so I can't try it out for myself)Try: [grep search=--[a-z][A-Z][0-9][_]+--&replace=]some text[/grep] That's somewhat similar to what you'd do in perl.Or, if you're really, really desperate:[grep search=--[a-z]+--&replace=] [grep search=--[A-Z]+--&replace=] [grep search=--[0-9]+--&replace=] [grep search=--[_]+--&replace=] some text [/grep] [/grep] [/grep] [/grep] Frank Nordberg http://www.musicaviva.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: Grep and removing text (Nitai @ ComputerOil 2002)
  2. Re: Grep and removing text (Brian Fries 2002)
  3. Re: Grep and removing text (devaulw@onebox.com 2002)
  4. Re: Grep and removing text (Nitai @ ComputerOil 2002)
  5. Re: Grep and removing text (Christer Olsson 2002)
  6. Re: Grep and removing text (Nitai @ ComputerOil 2002)
  7. Re: Grep and removing text (Frank Nordberg 2002)
  8. Re: Grep and removing text (Nitai @ ComputerOil 2002)
  9. Re: Grep and removing text (Christer Olsson 2002)
  10. Re: Grep and removing text (Frank Nordberg 2002)
  11. Re: Grep and removing text (Frank Nordberg 2002)
  12. Re: Grep and removing text (Nitai @ ComputerOil 2002)
  13. Re: Grep and removing text (Christer Olsson 2002)
  14. Re: Grep and removing text (Kenneth Grome 2002)
  15. Grep and removing text (Nitai @ ComputerOil 2002)
Nitai @ ComputerOil wrote: ... > > Ok, I have tried this: > > [grep search=--[a-zA-Z0-9_]+--&replace=]some text[/grep]Just a long shot or two (my WebCatalog doesn't support grep, so I can't try it out for myself)Try: [grep search=--[a-z][A-Z][0-9][_]+--&replace=]some text[/grep] That's somewhat similar to what you'd do in perl.Or, if you're really, really desperate:[grep search=--[a-z]+--&replace=] [grep search=--[A-Z]+--&replace=] [grep search=--[0-9]+--&replace=] [grep search=--[_]+--&replace=] some text [/grep] [/grep] [/grep] [/grep] Frank Nordberg http://www.musicaviva.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/ Frank Nordberg

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:

CommitDatabase vs. CloseDatabase (2001) [shell] wget (2004) Thanks for tips, more quest (1997) [WebDNA] [arrayset name=array_1&dim=X,Y,Z] Margins (2012) PIXO Support (1997) Where is f2? (1997) [WebDNA] Delete founditems (2010) Anyone ever have this email problem? (2004) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) emailer (1997) Execute Applescript (1997) Re:2nd WebCatalog2 Feature Request (1996) How to append text after the sign & (1997) email address with spaces (2001) Flag checking (2000) Encrypting the URL Query String (2003) Format question WC Mac f3 (1997) Setting up WebCatalog with Retail Pro data (1996) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) Error Log.db --however (1997)