Re: Grep Ampersands
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 69800
interpreted = N
texte = Ampersand can be tricky.Try escaping the & ie \&Or URL'ing the value and looking for the patternThis may help, it is instructions for BB Edit grep, some things work in WebDNA - others don't but a good place to start:http://dev.idfk.com.au/grep/RegardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.auOn 12/02/2008, at 9:28 AM, Ki Song wrote:> Some of our product descriptions have an ampersand.> For example: Backpack & Table>> How do I either:> 1. Replace the & with a &> 2. Replace the & with an "and">> I tried using grep, but putting an & into the search field seems to > "break"> the grep search.>>>> -------------------------------------------------------------> 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/-------------------------------------------------------------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:
Ampersand can be tricky.Try escaping the & ie \&Or URL'ing the value and looking for the patternThis may help, it is instructions for BB Edit grep, some things work in WebDNA - others don't but a good place to start:http://dev.idfk.com.au/grep/RegardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.auOn 12/02/2008, at 9:28 AM, Ki Song wrote:> Some of our product descriptions have an ampersand.> For example: Backpack & Table>> How do I either:> 1. Replace the & with a &> 2. Replace the & with an "and">> I tried using grep, but putting an & into the search field seems to > "break"> the grep search.>>>> -------------------------------------------------------------> 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/-------------------------------------------------------------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/
Stuart Tremain
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:
[OT] Java Servlet Q (2002)
Simple way to create unique SKU (1997)
Search all Fields in a db (1997)
Summing fields (1997)
Setting up shop (1997)
Need relative path explanation (1997)
Nested tags count question (1997)
Credit Card Verification.... (1998)
Summing fields (1997)
Cookie Newbie (2002)
Negative Range Error (2003)
unique ascending numbers (2003)
Product Name in AdminResults.inc (2001)
Special delete ... (1997)
Problems passing [SKU] with $Replace in 2.0 (1997)
Shownext on AOL (2003)
2 field showif/hideif's (2002)
Banner system (2000)
Running 2 two WebCatalog.acgi's (1996)
Requiring that certain fields be completed (1997)