[WebDNA] Grep out square brackets?

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105109
interpreted = N
texte = This is a multi-part message in MIME format. ------=_NextPart_000_0021_01CAD0B0.542DCE30 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Grep again... I want to remove the square brackets from my input. I've = looked at our docs and also hunted and pecked around in the google, but = no luck... none of these work: I want to return "some-command" (no quotes). [grep search=3D]&replace=3D][some_command][/grep] [grep search=3D[&replace=3D][some_command][/grep] [grep search=3D*]&replace=3D][some_command][/grep] [grep search=3D*[&replace=3D][some_command][/grep] [grep search=3D*]*&replace=3D][some_command][/grep] [grep search=3D*[*&replace=3D][some_command][/grep] [grep search=3D*][*&replace=3D][some_command][/grep] [grep search=3D[url][[/url]&replace=3D][some_command][/grep] [grep search=3D[url]][/url]&replace=3D][some_command][/grep] [grep search=3D[url][[/url]&replace=3D][url][some_command][/url][/grep] [grep search=3D[url]][/url]&replace=3D][url][some_command][/url][/grep] ...or is this a better job for a convertchars.db? Thanks, -Dan ------=_NextPart_000_0021_01CAD0B0.542DCE30 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Grep again... I want to remove the = square brackets=20 from my input. I've looked at our docs and also hunted and pecked around = in the=20 google, but no luck... none of these work:
 
I want to return "some-command" (no=20 quotes).
 
[grep=20 search=3D]&replace=3D][some_command][/grep]
[grep = search=3D[&replace=3D][some_command][/grep]
[grep=20 search=3D*]&replace=3D][some_command][/grep]
[grep=20 search=3D*[&replace=3D][some_command][/grep]
[grep=20 search=3D*]*&replace=3D][some_command][/grep]
[grep=20 search=3D*[*&replace=3D][some_command][/grep]
[grep=20 search=3D*][*&replace=3D][some_command][/grep]
[grep=20 search=3D[url][[/url]&replace=3D][some_command][/grep]
[grep=20 search=3D[url]][/url]&replace=3D][some_command][/grep]
[grep=20 search=3D[url][[/url]&replace=3D][url][some_command][/url][/grep]
= [grep=20 search=3D[url]][/url]&replace=3D][url][some_command][/url][/grep]
 
 
...or is this a better job for a=20 convertchars.db?
 
Thanks,
-Dan
 
------=_NextPart_000_0021_01CAD0B0.542DCE30-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Grep out square brackets? ("Dan Strong" 2010)
  2. Re: [WebDNA] Grep out square brackets? (Tom Duke 2010)
  3. Re: [WebDNA] Grep out square brackets? (Govinda 2010)
  4. Re: [WebDNA] Grep out square brackets? (Tom Duke 2010)
  5. Re: [WebDNA] Grep out square brackets? ("Dan Strong" 2010)
  6. Re: [WebDNA] Grep out square brackets? ("Terry Wilson" 2010)
  7. [WebDNA] Grep out square brackets? ("Dan Strong" 2010)
This is a multi-part message in MIME format. ------=_NextPart_000_0021_01CAD0B0.542DCE30 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Grep again... I want to remove the square brackets from my input. I've = looked at our docs and also hunted and pecked around in the google, but = no luck... none of these work: I want to return "some-command" (no quotes). [grep search=3D]&replace=3D][some_command][/grep] [grep search=3D[&replace=3D][some_command][/grep] [grep search=3D*]&replace=3D][some_command][/grep] [grep search=3D*[&replace=3D][some_command][/grep] [grep search=3D*]*&replace=3D][some_command][/grep] [grep search=3D*[*&replace=3D][some_command][/grep] [grep search=3D*][*&replace=3D][some_command][/grep] [grep search=3D[url][[/url]&replace=3D][some_command][/grep] [grep search=3D[url]][/url]&replace=3D][some_command][/grep] [grep search=3D[url][[/url]&replace=3D][url][some_command][/url][/grep] [grep search=3D[url]][/url]&replace=3D][url][some_command][/url][/grep] ...or is this a better job for a convertchars.db? Thanks, -Dan ------=_NextPart_000_0021_01CAD0B0.542DCE30 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Grep again... I want to remove the = square brackets=20 from my input. I've looked at our docs and also hunted and pecked around = in the=20 google, but no luck... none of these work:
 
I want to return "some-command" (no=20 quotes).
 
[grep=20 search=3D]&replace=3D][some_command][/grep]
[grep = search=3D[&replace=3D][some_command][/grep]
[grep=20 search=3D*]&replace=3D][some_command][/grep]
[grep=20 search=3D*[&replace=3D][some_command][/grep]
[grep=20 search=3D*]*&replace=3D][some_command][/grep]
[grep=20 search=3D*[*&replace=3D][some_command][/grep]
[grep=20 search=3D*][*&replace=3D][some_command][/grep]
[grep=20 search=3D[url][[/url]&replace=3D][some_command][/grep]
[grep=20 search=3D[url]][/url]&replace=3D][some_command][/grep]
[grep=20 search=3D[url][[/url]&replace=3D][url][some_command][/url][/grep]
= [grep=20 search=3D[url]][/url]&replace=3D][url][some_command][/url][/grep]
 
 
...or is this a better job for a=20 convertchars.db?
 
Thanks,
-Dan
 
------=_NextPart_000_0021_01CAD0B0.542DCE30-- "Dan Strong"

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:

Adding Multiple Items to Shopping Cart from a Results page (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) The [shownext] limitations (2002) Pithy questions on webcommerce & siteedit (1997) Plugin vs. CGI (1998) A little syntax help (1997) WC2b15 File Corruption (1997) Q: how long for answers to the WebDNA-Talk list? (1997) Search in 2 or more catalogs (1997) download a file (2001) Interpret Around Contexts? (2000) [math date] with non-US date format (2000) Using WebCat for product info requests (1997) Where's Cart Created ? (1997) search zip codes ranges (2003) [protect] weirdness (2000) Question about links (1999) question: Eudora 3.1.1 (1997) Need relative path explanation (1997) Ampersands in database fields? (1998)