Re: Turning a URL into a link

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 53140
interpreted = N
texte = On 9/25/03 8:22 AM, "Phil Herring" wrote: > Works great! I'm curious, though, what the role of the first subgroup is... > The ([^A-z0-9_]) that comes before "http:" > > I'm using it like this and I had to remove that subgroup to get it work > right: > > [grep search=(http://[A-z0-9_\\:\/\.\~\`\?\+\-\=\#\%26]*)&replace= href="\1" TARGET="_blank">\1][dbfield][/grep] I guess it's not necessary but it makes sure there is a space before the link so you don't link something like thishttp://blueboxdev.com It's probably not needed. -- Jesse Williams-Proudman Blue Box Development :: Custom Web Solutions +1.206.778.8777 :: jesse@blueboxdev.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: Turning a URL into a link ( Jesse Williams-Proudman 2003)
  2. Re: Turning a URL into a link ( "Gary Krockover" 2003)
  3. Re: Turning a URL into a link ( John Peacock 2003)
  4. Re: Turning a URL into a link ( "Gary Krockover" 2003)
  5. Re: Turning a URL into a link ( Phil Herring 2003)
  6. Re: Turning a URL into a link ( Jesse Williams-Proudman 2003)
  7. Turning a URL into a link ( Phil Herring 2003)
On 9/25/03 8:22 AM, "Phil Herring" wrote: > Works great! I'm curious, though, what the role of the first subgroup is... > The ([^A-z0-9_]) that comes before "http:" > > I'm using it like this and I had to remove that subgroup to get it work > right: > > [grep search=(http://[A-z0-9_\\:\/\.\~\`\?\+\-\=\#\%26]*)&replace= href="\1" TARGET="_blank">\1][dbfield][/grep] I guess it's not necessary but it makes sure there is a space before the link so you don't link something like thishttp://blueboxdev.com It's probably not needed. -- Jesse Williams-Proudman Blue Box Development :: Custom Web Solutions +1.206.778.8777 :: jesse@blueboxdev.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/ Jesse Williams-Proudman

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:

limit to listwords (2001) Using WC for Bulk Emailings (1997) If set cookie doesn't work. (2000) QuitFeedback & DBNotOpened errors (1997) Using Eudora instead of Emailer, and cron facility (1998) WebCat B13 Mac CGI -- Frames question (1997) showif comparison begins w/ and contains (1997) database size? (1997) WebCat2b13MacPlugIn - syntax to convert date (1997) writefile to create static pages (2003) [WebDNA] Two different mail servers? (2011) Inventory Adjustment (2000) server2003 isolation mode - ME TOO! (2004) [dos] command and [math] (1998) question: back button prevention (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) shownext (1997) Sorting by highest number of matches unique to a field (2003) Emailer setup (1997) [SearchString] problem with [search] context (1997)