[WebDNA] Grep help - catch all URLs

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105008
interpreted = N
texte = --00032555a8d26d4b9b04815228c3 Content-Type: text/plain; charset=UTF-8 Hi all, Looking for some grep help. I'm trying to catch all URLs and append a variable to the end: search = http://www.anyurl.com/page.html replace = http://www.anyurlcom/page.html?i=[id] I'm assuming that there is always a whitespace character at the end, i.e. a space, tab or carriage return, But I can't figure out how to get WebDNA to find that. The \s whitespace bbedit option does not seem to work. Thanks - Tom --00032555a8d26d4b9b04815228c3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi all,

Looking for some grep help. =C2=A0 I'm tryin= g to catch all URLs and append a variable to the end:


=C2=A0=C2=A0 search =3D http://www.anyurl.com/page.html
=

=C2=A0=C2=A0 replace =3D http://www.anyurlcom/page.html= ?i=3D[id]

I'm assuming that there is always a whitespace character at = the end, i.e. a space, tab or carriage return, But I can't figure out h= ow to get WebDNA to find that. =C2=A0 The \s whitespace bbedit option does = not seem to work.

Thanks
- Tom
--00032555a8d26d4b9b04815228c3-- 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)
--00032555a8d26d4b9b04815228c3 Content-Type: text/plain; charset=UTF-8 Hi all, Looking for some grep help. I'm trying to catch all URLs and append a variable to the end: search = http://www.anyurl.com/page.html replace = http://www.anyurlcom/page.html?i=[id] I'm assuming that there is always a whitespace character at the end, i.e. a space, tab or carriage return, But I can't figure out how to get WebDNA to find that. The \s whitespace bbedit option does not seem to work. Thanks - Tom --00032555a8d26d4b9b04815228c3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi all,

Looking for some grep help. =C2=A0 I'm tryin= g to catch all URLs and append a variable to the end:


=C2=A0=C2=A0 search =3D http://www.anyurl.com/page.html
=

=C2=A0=C2=A0 replace =3D http://www.anyurlcom/page.html= ?i=3D[id]

I'm assuming that there is always a whitespace character at = the end, i.e. a space, tab or carriage return, But I can't figure out h= ow to get WebDNA to find that. =C2=A0 The \s whitespace bbedit option does = not seem to work.

Thanks
- Tom
--00032555a8d26d4b9b04815228c3-- 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:

A little syntax help (1997) Re1000001: Setting up shop (1997) Reversing [ipaddress] normalization (1998) shipping costs (1999) ShowNext (1997) I give up!! (1997) emailer (1997) Interfacing WebMerchant to www.fedex.com (1997) WebCat2b12 CGI Mac -- Problems propagating the cart through (1997) WebCat2: Found Items syntax, etc. (1997) searchable list archive (1997) [WebDNA] macOS 10.13.3 and WebDNA Mac Server 8.5.1 - hick-up (2019) WebCatalog [FoundItems] Problem - AGAIN - (1997) Only charge card when product shipped ? (1997) default error on NT? (1997) Stopping bad HTML propagation ? (1997) WC --> printer (1998) Searching for a search solution (2000) My solution... (1996) shipping formula (2000)