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

Webcat 2.0.1b1 bug with IE 3.01/4.0p1 (1997) can WC render sites out? (1997) .. more on sliding discounts... (1997) [SHOWIF AND/OR] (1997) Removing [showif] makes a big difference in speed (1997) Showing unopened cart (1997) serial number generation (1997) Sharing DBs across domains (2001) [input]?? (1998) Solve the Problem, get the code! (2001) Starting WebCat under linux (2000) Not really WebCat - need HTML Grider (1997) WebDNA Commerce Single for MAC 6.0 (2008) Re:How to Display text in empty fields (1997) Cart -> Date and Time (2004) This Code Kills My WebCatalog Dead (2003) Checking whether remote image exists? (2004) Problem (1997) Follow-Up to: Removing [showif] makes a big difference in speed (1997) Search Engine questions ... (2002)