Re: Grep and removing text

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45183
interpreted = N
texte = >Hi all > >I need to remove all text within --. The words also contain a _. So the >obvious should be: > >[grep search=--[a-zA-Z0-9_]--&replace=]some text[/grep] > >Doesn't work. Any suggestions?[a-zA-Z0-9_]+The + tells grep you want any repetition of chars, otherwise you will only have matches for single chars. -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Idéer AB SE-200 39 Malmoe Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se------------------------------------------------------------- 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)
>Hi all > >I need to remove all text within --. The words also contain a _. So the >obvious should be: > >[grep search=--[a-zA-Z0-9_]--&replace=]some text[/grep] > >Doesn't work. Any suggestions?[a-zA-Z0-9_]+The + tells grep you want any repetition of chars, otherwise you will only have matches for single chars. -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Idéer AB SE-200 39 Malmoe Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se------------------------------------------------------------- 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/ Christer Olsson

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:

code to phantom spacing (2001) How do I make this faster???? (2000) Letters as SKU (1998) [WebDNA] Sorry WebDNA server not running. (2015) WebCat2b13MacPlugIn - [include] (1997) PCS Emailer's role ? (1997) Running _every_ page through WebCat ? (1997) calculate age (2003) Re:quit command on NT (1997) Calculating multiple shipping... (1997) [WebDNA] Now: Listfields does not work with tables - Was: [OT] (2011) Request for help on a new *automated* WebCatalog function ... (1998) How flexible is Shipping? (1997) Nt's Latest? (1997) Size limit for tmpl editor ? (1997) Max connections exceeded clarification please (2002) [append] and SSL (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) encrypt method=APOP broken or just not enough docs? - wasMD5 encryption (2003) Database Updates (1997)