help with grep

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 69854
interpreted = N
texte = I've run into a dilema and can't seem to get grep to work on a URL string. What I need to do is replace a single instance of "&" with a "?", but I cannot seem to get the correct syntax? [Text]Result=http://www.domain.com/menu.4321&var1=xxx[/Text] The following don't work? [Text]Result=[Grep search=&&replace=?][Result][/Grep][/Text] [Text]Result=[Grep search=\&=&replace=?][Result][/Grep][/Text] [Text]Result=[Grep search=(\&)=&replace=?][Result][/Grep][/Text] Any ideas? -- ------------------------------------------- Marc Thompson Software Engineer Office of Information Technology University of Utah 801.585.9264 marc.thompson@utah.edu ------------------------------------------- ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: help with grep ( Bob Minor 2008)
  2. Re: help with grep ( Donovan Brooke 2008)
  3. Re: help with grep ( Marc Thompson 2008)
  4. help with grep ( Marc Thompson 2008)
  5. Re: Help with Grep exchange ( devaulw@onebox.com 2005)
  6. Help with Grep exchange ( "Palle B. Nielsen (PowerPalle)" 2005)
I've run into a dilema and can't seem to get grep to work on a URL string. What I need to do is replace a single instance of "&" with a "?", but I cannot seem to get the correct syntax? [text]Result=http://www.domain.com/menu.4321&var1=xxx[/Text] The following don't work? [text]Result=[Grep search=&&replace=?][Result][/Grep][/Text] [text]Result=[Grep search=\&=&replace=?][Result][/Grep][/Text] [text]Result=[Grep search=(\&)=&replace=?][Result][/Grep][/Text] Any ideas? -- ------------------------------------------- Marc Thompson Software Engineer Office of Information Technology University of Utah 801.585.9264 marc.thompson@utah.edu ------------------------------------------- ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Marc Thompson

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:

SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) Large databases in WebCat (1997) New NT betas available (1997) New Mac Emailer... (1997) WebCat2b13MacPlugIn - [include] (1997) Re:Searching for ALL / empty form field *the FINAL answer* (1997) Webstar 1.3.1 PPC (1997) Running _every_ page through WebCat-error.html (1997) [format 40s]text[/format] doesn't work (1997) docs for WebCatalog2 (1997) RE: WebDNA-Talk searchable? (1997) Sandboxes & Kitty Litter trays (2003) WebCatalog2 for NT Beta Request (1997) Undocumented changes create problems in webcat 4 ... (2000) [SHOWIF] PROBLEM (2000) File Upload (1997) Disappearing Databases (2000) Line items in table cells (1997) Missing from Docs [folderName] (1997) webdna+post+WinIE6 (2004)