What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: Grep -- remove extra returns first

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52114
interpreted = N
texte = I just solved this problem (the multi-line one) today. Try this: [grep search=.*(http://[^ ]*).*&replace=\1][grep search=[%0D%0A%0B]&replace=][mystring][/grep][/grep] By putting everything on one line, it can be parsed. Bill on 8/7/03 9:53 PM, Rajeev Kumar at raj@idfk.com.au wrote: > what do you mean? > Can you paste a blob of text, for which it won't work? > > ----- Original Message ----- > From: "Jesse Williams-Proudman" > To: "WebDNA Talk" > Sent: Friday, August 08, 2003 11:47 AM > Subject: Re: Grep Question > > >> On 8/7/03 6:36 PM, "Rajeev Kumar" wrote: >> >>> [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= href="\1">\1][MyString][/grep] >> >> This won't execute the replace if there is a new line, etc... That's my >> problem with that. >> >> >> -- >> 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/ ------------------------------------------------------------- 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: Grep -- remove extra returns first ( William DeVaul 2003)
  2. Re: Grep -- remove extra returns first ( "Rajeev Kumar" 2003)
  3. Re: Grep -- remove extra returns first ( Jesse Williams-Proudman 2003)
  4. Re: Grep -- remove extra returns first ( "Rajeev Kumar" 2003)
  5. Re: Grep -- remove extra returns first ( Jesse Williams-Proudman 2003)
  6. Re: Grep -- remove extra returns first ( William DeVaul 2003)
  7. Re: Grep -- remove extra returns first ( Jesse Williams-Proudman 2003)
  8. Re: Grep -- remove extra returns first ( William DeVaul 2003)
I just solved this problem (the multi-line one) today. Try this: [grep search=.*(http://[^ ]*).*&replace=\1][grep search=[%0D%0A%0B]&replace=][mystring][/grep][/grep] By putting everything on one line, it can be parsed. Bill on 8/7/03 9:53 PM, Rajeev Kumar at raj@idfk.com.au wrote: > what do you mean? > Can you paste a blob of text, for which it won't work? > > ----- Original Message ----- > From: "Jesse Williams-Proudman" > To: "WebDNA Talk" > Sent: Friday, August 08, 2003 11:47 AM > Subject: Re: Grep Question > > >> On 8/7/03 6:36 PM, "Rajeev Kumar" wrote: >> >>> [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= href="\1">\1][MyString][/grep] >> >> This won't execute the replace if there is a new line, etc... That's my >> problem with that. >> >> >> -- >> 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/ ------------------------------------------------------------- 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/ William DeVaul

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:

mass mailing (1998) French characters in variables (2001) [WebDNA] FindString - source: multiple words (2019) WebDNA-Talk Digest mode broken (1997) Running 2 two WebCatalog.acgi's (1996) WebTEN vs webSTAR (1998) WEBCAT with SQL backend. Help please! (2000) Need relative path explanation (1997) [BoldWords] WebCat.acgib15Mac (1997) PCS Emailer's role ? (1997) Help! WebCat2 bug (1997) HideIf ip= OR ip (1998) Image Pirating [protecting against] (2003) WebCatalog NT beta 18 problem (1997) Pithy questions on webcommerce & siteedit (1997) WebCat2 Append problem (B14Macacgi) (1997) New Weird Behavior (bug report) (2000) Custom WebCat Prefs ... (1997) webcat2b12 CGI -- Date comparisons (1997) Stumpted Again (1997)