[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:

emailer setup (1997) RE:ShowIf & HideIf Question? (1998) RE: Purchased cart being overwritten (1997) why is this line in GeneralStore? (1998) Re:Running 2 two WebCatalog.acgi's (1996) Is this possible, WebCat2.0 and checkboxes (1997) Incrementing a number (1998) Plugin or CGI or both (1997) 3.08 installer (2003) NT version and O'reily's WebSite (1997) [PROTECT] Problem (2003) creating a 60 fields database (1997) Nested [tags] (2001) Combining search criteria in a context? (1998) Sorting Dates (2000) [LOOKUP] (1997) Out of the woodwork (2007) WebCat2 beta 11 - new prefs ... (1997) Sku numbers (1997) Nested Loops and SHOWIFs (1997)