Re: Grep Question
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 52111
interpreted = N
texte = Hi,Try this:[text show=T]MyString=This puts you in the http://domain.com/images/Photos/directory. Please make sure you name and date each folder.[/Text]
[grep search=(http://[^ ]*)&replace=
\1][MyString][/grep]Raj----- Original Message ----- From: "Jesse Williams-Proudman"
To: "WebDNA Talk" Sent: Friday, August 08, 2003 11:10 AMSubject: Grep Question> Context:>> [grep>search=([^A-z0-9_])(http://[A-z0-9_\\:\/\.\~\`\?\+\-]*)([^A-z0-9_\:\/\.\-]?)> &replace=\1\2\3]>> Text:>> This puts you in the http://domain.com/images/Photos/ directory. Please> make sure you name and date each folder.>> This grep string is matching the following from that text:>> http://domain.com/images/Photos/ directory. Please make sure you nameand> date each folder.>>> I only want it to match this:>> http://domain.com/images/Photos/>> Any ideas?>>> -- > Jesse Williams-Proudman> Blue Box Code () Custom Web Solutions> +1.206.778.8777 () jesse@blueboxcode.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/-------------------------------------------------------------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:
Hi,Try this:[text show=T]MyString=This puts you in the http://domain.com/images/Photos/directory. Please make sure you name and date each folder.[/Text]
[grep search=(http://[^ ]*)&replace=\1][MyString][/grep]Raj----- Original Message ----- From: "Jesse Williams-Proudman" To: "WebDNA Talk" Sent: Friday, August 08, 2003 11:10 AMSubject: Grep Question> Context:>> [grep>search=([^A-z0-9_])(http://[A-z0-9_\\:\/\.\~\`\?\+\-]*)([^A-z0-9_\:\/\.\-]?)> &replace=\1\2\3]>> Text:>> This puts you in the http://domain.com/images/Photos/ directory. Please> make sure you name and date each folder.>> This grep string is matching the following from that text:>> http://domain.com/images/Photos/ directory. Please make sure you nameand> date each folder.>>> I only want it to match this:>> http://domain.com/images/Photos/>> Any ideas?>>> -- > Jesse Williams-Proudman> Blue Box Code () Custom Web Solutions> +1.206.778.8777 () jesse@blueboxcode.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/-------------------------------------------------------------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/
"Rajeev Kumar"
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:
RE: is sku a REQUIRED field on NT (1997)
my price won't move (1997)
Help needed! (SIMS recommendation) (1998)
Hideif not working? (2001)
WebCat2 several catalogs? (1997)
WebCat2 beta 11 - new prefs ... (1997)
form crasehes server (1997)
Credit card types (1997)
categories (1997)
Sorting by date (1997)
Sorting (1998)
LookUp Tag (1997)
[WebDNA] Conditional search (2009)
[WebDNA] HTTP Streaming -- impossible? (2010)
[LOOKUP] (1997)
WebDNA and SSI (2004)
Updating fields from different platforms (1998)
Bug in capitalize ... ? (2003)
user flush db (2002)
[/application] error? (1997)