Re: Extract my page name

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 66756
interpreted = N
texte = If you want to use grep, try something like this (untested): [grep search=.*/([^/]*)&replace=\1][input][/grep] It removes everything upto and including the / before the page name, and keeps the page name. Bill -----Original Message----- From: Gary Krockover Sent: Tue, 04 Apr 2006 11:05:46 -0500 To: "WebDNA Talk" Subject: Re: Extract my page name Can't a grep search for and remove any instance of "//" ? The pair of slashes should be something that you could key on I would think. G. At 10:40 AM 4/4/2006, you wrote: >Hi > >Only problem with this is the domain name can change. > >Cheers ------------------------------------------------------------- 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:

    
  1. Re: Extract my page name ( devaulw@onebox.com 2006)
  2. Re: Extract my page name ( Gary Krockover 2006)
  3. Re: Extract my page name ( nitai@computeroil.com 2006)
  4. Re: Extract my page name ( Steve Craig 2006)
  5. Re: Extract my page name ( Gary Krockover 2006)
  6. Re: Extract my page name ( nitai@computeroil.com 2006)
  7. Extract my page name ( Steve Craig 2006)
If you want to use grep, try something like this (untested): [grep search=.*/([^/]*)&replace=\1][input][/grep] It removes everything upto and including the / before the page name, and keeps the page name. Bill -----Original Message----- From: Gary Krockover Sent: Tue, 04 Apr 2006 11:05:46 -0500 To: "WebDNA Talk" Subject: Re: Extract my page name Can't a grep search for and remove any instance of "//" ? The pair of slashes should be something that you could key on I would think. G. At 10:40 AM 4/4/2006, you wrote: >Hi > >Only problem with this is the domain name can change. > >Cheers ------------------------------------------------------------- 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/ devaulw@onebox.com

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:

unix permissions theory applied to db security? Or...? (2000) Email within tmpl ? (1997) Re1000001: Setting up shop (1997) [WriteFile] problems (1997) Multiple Replaces (1997) remove.htm from result (2005) database visibility (2000) Bug Report, maybe (1997) WebCat2 several catalogs? (1997) Sorting by date (1997) Grouping search fields, etc. (1997) Help name our technology! (1997) Cart questions (1997) 2nd WebCatalog2 Feature Request (1996) Sherlock plug-in? (1999) emailer setup (1997) Mac app. that converts e-mails (2000) More on the email templates (1997) Where can I find hex equivalents for ASCII characters? (2000) suffix mapping for NT? (1997)