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

Non-technical messages ... (1997) Multiple Users.db Possible? (1997) YACBQ.....(Yet another checkbox question) (2000) WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997) EMERGENCY: WebCatalog stopped processing .HTML (IIS) (2003) Paths (2000) remotely add + sign (1997) Grep -Replace with nothing (2003) WebTen? (1997) pop up menu's (1998) updating checkbox in a db (1998) A Global Variable (1997) Help formatting search results w/ table (1997) WebCat for paper collection, review and coordination ? (1998) weird happenings (1997) [WebDNA] test (2010) OT- AS/400 and Macs (2003) Multiple prices (1997) NT version and O'reily's WebSite (1997) Processing all html files through WebCat or Typhoon (1998)