Re: How do I specify a & character in Grep?
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34130
interpreted = N
texte = Thanks, but that's not what I'm trying to do.I'm trying to strip a URL down to it's filename using Webcat's Grep.I'm not searching a database, I'm trying to parse some text.[grep search=http://[a-zA-Z_0-9]*.[a-zA-Z_0-9]*.[a-zA-Z_0-9]*/&replace=]http://www.domain.com/index.html?1st=ho&2nd=bo&3rd=mo[/grep]I want to strip out the search args of the URL string which include ?, &, =, etc. . .How do I specify a & in the grep syntax since smithmicro used it as the delimiter for the search & replace parameters for Grep.ml>[search... &eqfield1datarq=[url]&[/url]...]>>?>>Webcat wrote:>>> I need to search for a & but webcat thinks it's the separator for the search&replace arguments. I tried using \ to delimit it. Don't work.>>>> Any Ideas?>>>> ml>> -->>>------------------------------------------------------------->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://search.smithmicro.com/-- \|/ (. .)_________________________ooO_(_)_Ooo_____________________________Mark Lacas mailto:mark@lacas.comVirtual Loft / Seattle HarborCam: http://www.loftcam.com/SeattleStuff WebCommerce Community: http://www.seattlestuff.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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Thanks, but that's not what I'm trying to do.I'm trying to strip a URL down to it's filename using Webcat's Grep.I'm not searching a database, I'm trying to parse some text.[grep search=http://[a-zA-Z_0-9]*.[a-zA-Z_0-9]*.[a-zA-Z_0-9]*/&replace=]http://www.domain.com/index.html?1st=ho&2nd=bo&3rd=mo[/grep]I want to strip out the search args of the URL string which include ?, &, =, etc. . .How do I specify a & in the grep syntax since smithmicro used it as the delimiter for the search & replace parameters for Grep.ml>[search... &eqfield1datarq=[url]&[/url]...]>>?>>Webcat wrote:>>> I need to search for a & but webcat thinks it's the separator for the search&replace arguments. I tried using \ to delimit it. Don't work.>>>> Any Ideas?>>>> ml>> -->>>------------------------------------------------------------->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://search.smithmicro.com/-- \|/ (. .)_________________________ooO_(_)_Ooo_____________________________Mark Lacas mailto:mark@lacas.comVirtual Loft / Seattle HarborCam: http://www.loftcam.com/SeattleStuff WebCommerce Community: http://www.seattlestuff.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://search.smithmicro.com/
Webcat
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:
Force a search at the default.tmpl page? (1997)
Product display (2000)
[no_cache]?! (2000)
Summing fields (1997)
[protect] on NT? (1997)
Webcat 4.0.x and apache 2.x (2002)
WebCatalog can't find database (1997)
Serial Number Question (1997)
Search Engines (2002)
WYSIWYG-editor for mac (2003)
[returnraw] and form variables (1998)
SmithMicro announcement at Macworld ?? (2004)
WebCat2b13 Command Reference Doc error (1997)
Permission denied? (2004)
Help with Shipping Costs (1997)
member logins database (2003)
PCS Frames (1997)
absolute path (*) - how does it work? (2007)
WebCatalog Upgrade Pricing? (1997)
WebCat2: Items xx to xx shown, etc. (1997)