Help with Grep exchange

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62772
interpreted = N
texte = Hi all, Hope to get some help here... I have a database where the following data can be found... [image:11236071978564286] The numbers is a cart value and therefore it will change depending on which row I read. I want to make a grep statement which looks for a [image: 11236071978564286] and excanges [image:11236071978564286] with the number within the [image:11236071978564286] in this case the [image: 11236071978564286] should be excanges with 11236071978564286 The [image:11236071978564286] can be found inside a variable called [the_text] I guess the grep statement would be something like this... [text]the_text=[grep search=\[image:11236071978564286\] &replace=][text]the_text[/text][/grep][/text] I am almost there but need some help to goal it... Palle ------------------------------------------------------------- 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: Help with Grep exchange ( devaulw@onebox.com 2005)
  2. Help with Grep exchange ( "Palle B. Nielsen (PowerPalle)" 2005)
Hi all, Hope to get some help here... I have a database where the following data can be found... [image:11236071978564286] The numbers is a cart value and therefore it will change depending on which row I read. I want to make a grep statement which looks for a [image: 11236071978564286] and excanges [image:11236071978564286] with the number within the [image:11236071978564286] in this case the [image: 11236071978564286] should be excanges with 11236071978564286 The [image:11236071978564286] can be found inside a variable called [the_text] I guess the grep statement would be something like this... [text]the_text=[grep search=\[image:11236071978564286\] &replace=][text]the_text[/text][/grep][/text] I am almost there but need some help to goal it... Palle ------------------------------------------------------------- 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/ "Palle B. Nielsen (PowerPalle)"

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:

Help name our technology! (1997) ShowNext for method=POST (1997) Webcat listserver - WAS - webcat method for waitingspecific amount of time? (2000) Zip Code Radius Search Tool (2003) emailer settings and control questions (1997) Reserved words - Enhancement request (2000) searching withe db up three directories not working (1999) Protect (1997) [protect] on NT? (1997) RE: [WebDNA] Sorry WebDNA server not running /Template ERROR/ Slow (2019) Multiple prices (1997) Browser Info.txt (1997) Problems reading files created by WC (1997) Thanks Grant (1997) Database Upload (2000) Configuration Q (1998) List archive status? (1999) Protect Tag and Groups (1998) Snake Bites (1997) Version Question (2000)