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 ThompsonSoftware EngineerOffice of Information TechnologyUniversity of Utah801.585.9264marc.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:
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 ThompsonSoftware EngineerOffice of Information TechnologyUniversity of Utah801.585.9264marc.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:
Summing fields (1997)
WC2.0 Memory Requirements (1997)
all records returned. (1997)
Searchable WebCat (etc.) Docs ? (1997)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
wc 2 pro users - sites, quotes wanted (1997)
WebCatalog2 Feature Feedback (1996)
wrong input values? (1997)
FORMS: Returning a specific page (1997)
Striping Characters (1998)
[showif],[refferer],[include] in errormessages.db (2002)
range searching (1998)
RE: TeaRoom (1997)
WebCat2 several catalogs? (1997)
Keep away (1997)
f2 download problems (1997)
Frames and WebCat (1997)
WCS Newbie question (1997)
RE: 2nd WebCatalog2 Feature Request (1996)
Search (1997)