[WebDNA] Re: Grep help - catch all URLs

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105009
interpreted = N
texte = --00032555abea02f71204815267d3 Content-Type: text/plain; charset=UTF-8 Hi, To answer my own question - this seems to be working OK: [grep search=http:([a-zA-Z0-9\/\._-]*)&replace=http:\1?i=[id]][block_of_text_or_html][/grep] - Tom --00032555abea02f71204815267d3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi,

To answer my own question - this seems to be working= OK:

=C2=A0=C2=A0=C2=A0[grep search=3Dhttp:([a-zA-= Z0-9\/\._-]*)&replace=3Dhttp:\1?i=3D[id]][block_of_text_or_html][/grep]=

- Tom
--00032555abea02f71204815267d3-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Grep help - catch all URLs (Tom Duke 2010)
  2. Re: [WebDNA] Grep help - catch all URLs (Stuart Tremain 2010)
  3. [WebDNA] Grep help - catch all URLs (Tom Duke 2010)
--00032555abea02f71204815267d3 Content-Type: text/plain; charset=UTF-8 Hi, To answer my own question - this seems to be working OK: [grep search=http:([a-zA-Z0-9\/\._-]*)&replace=http:\1?i=[id]][block_of_text_or_html][/grep] - Tom --00032555abea02f71204815267d3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi,

To answer my own question - this seems to be working= OK:

=C2=A0=C2=A0=C2=A0[grep search=3Dhttp:([a-zA-= Z0-9\/\._-]*)&replace=3Dhttp:\1?i=3D[id]][block_of_text_or_html][/grep]=

- Tom
--00032555abea02f71204815267d3-- Tom Duke

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:

Simple way to create unique SKU (1997) Re:Subcription Sales w/WebCatalog (1999) Upgrade to web DNA6.0 (2004) Multiple Replaces? (1997) WebCat for Unix?? (1997) Emailer help....! (1997) WebCatalog 3.0.8 is on FTP... (2000) Not really WebCat- (1997) Showing unopened cart (1997) WebCat2b15MacPlugin - showing [math] (1997) Running _every_ page through WebCat ? (1997) Stopping NT WebCat service (1998) expired beta (1997) Large databases in WebCat (1997) The beginning (1997) How to delete all files in a folder? (2001) [sendmail] and [formvariables] (1997) WebCat constantly restarting (2001) WebDNA 5.1e (2003) Sort of a Dilema! (1998)