Re: To use GREP to boldface text

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50236
interpreted = N
texte = Hi Laurent,[text show=t]myText=Lorem ipsum, Dolor sit amet, consectetuer lorem adipiscing elit sed lorem, diam nonummy nibh euismod tincidunt.[/text]

[text show=t]myText2=[grep search=([lL]orem)&replace=\1][myText][/grep][/text] Note: the [lL] inside the search criteria is there so that both Lorem and lorem is picked up. (Grep is case sensitive) Rajidfk web developments neutral bay, australia----- Original Message ----- From: Laurent Bache To: WebDNA Talk Sent: Monday, May 12, 2003 2:26 AM Subject: Re: To use GREP to boldface text HumHum!!!... Thank =:o|But if I want a text in Red ... ? =:o)Le dimanche, 11 mai 2003, à 18:15 Europe/Paris, Bob Minor a écrit :> [BoldWords words=Lorem][mytext][/BoldWords] > > On Sunday, May 11, 2003, at 11:05 AM, Laurent Bache wrote: > >> Currently I use that to boldface the sought text: >> >> myText=Lorem ipsum, Dolor sit amet, consectetuer adipiscing elit sed >> lorem, diam nonummy nibh euismod tincidunt. >> mySearch=lorem >> >> [Text]varText=[/Text] >> [ListWords Words=[myText]&Delimiters= ] >> [If [mySearch]^[word]][Then] >> [Text]vtText=[vtText] [word][/Text] >> [/Then][Else] >> [Text]vtText=[vtText] [word][/Text] >> [/Else][/If] >> [/ListWords] >> >> vtText= Lorem ipsum, Dolor sit amet, consectetuer adipiscing >> elit sed lorem, diam nonummy nibh euismod tincidunt. >> >> Do you have another solution by using function GREP? >> >> Thanks >> >> >> ------------------------------------------------------------- >> 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/ >> > Robert Minor > Director of Internet Services > ------------------------------------------------------------ > Cybermill Communications > http://www.cybermill.com http://www.merchantmaker.com > > Providing Ecommerce and interactive website development and > hosting services on Macintosh, Windows NT, Unix, and AS/400. > > All your websites are belong to us! > > ------------------------------------------------------------- > 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: To use GREP to boldface text (Rob Marquardt 2003)
  2. Re: To use GREP to boldface text (Nitai @ ComputerOil 2003)
  3. Re: To use GREP to boldface text (Rajeev Kumar 2003)
  4. Re: To use GREP to boldface text (Laurent Bache 2003)
  5. Re: To use GREP to boldface text (Bob Minor 2003)
  6. To use GREP to boldface text (Laurent Bache 2003)
Hi Laurent,[text show=t]myText=Lorem ipsum, Dolor sit amet, consectetuer lorem adipiscing elit sed lorem, diam nonummy nibh euismod tincidunt.[/text]

[text show=t]myText2=[grep search=([lL]orem)&replace=\1
][myText][/grep][/text] Note: the [lL] inside the search criteria is there so that both Lorem and lorem is picked up. (Grep is case sensitive) Rajidfk web developments neutral bay, australia----- Original Message ----- From: Laurent Bache To: WebDNA Talk Sent: Monday, May 12, 2003 2:26 AM Subject: Re: To use GREP to boldface text HumHum!!!... Thank =:o|But if I want a text in Red ... ? =:o)Le dimanche, 11 mai 2003, à 18:15 Europe/Paris, Bob Minor a écrit :> [BoldWords words=Lorem][mytext][/BoldWords] > > On Sunday, May 11, 2003, at 11:05 AM, Laurent Bache wrote: > >> Currently I use that to boldface the sought text: >> >> myText=Lorem ipsum, Dolor sit amet, consectetuer adipiscing elit sed >> lorem, diam nonummy nibh euismod tincidunt. >> mySearch=lorem >> >> [text]varText=[/Text] >> [ListWords Words=[myText]&Delimiters= ] >> [If [mySearch]^[word]][Then] >> [text]vtText=[vtText] [word][/Text] >> [/Then][Else] >> [text]vtText=[vtText] [word][/Text] >> [/Else][/If] >> [/ListWords] >> >> vtText= Lorem ipsum, Dolor sit amet, consectetuer adipiscing >> elit sed lorem, diam nonummy nibh euismod tincidunt. >> >> Do you have another solution by using function GREP? >> >> Thanks >> >> >> ------------------------------------------------------------- >> 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/ >> > Robert Minor > Director of Internet Services > ------------------------------------------------------------ > Cybermill Communications > http://www.cybermill.com http://www.merchantmaker.com > > Providing Ecommerce and interactive website development and > hosting services on Macintosh, Windows NT, Unix, and AS/400. > > All your websites are belong to us! > > ------------------------------------------------------------- > 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/ 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:

[Fwd: Rotating Banners ... (was LinkExchange)] (1997) Re: (1997) Configuring E-mail (1997) Chown www:wheel Almost There WebCat 5 on itools 7 (2003) LetterRip and WebCat (1998) Opinion: [input] should be called [output] ... (1997) PCS Frames (1997) FW: WebCat Contest (1998) SEARCH Peram (2003) PIXO (1997) A question on sub-categories (1997) SM: Update on this please: Paymethod question (1999) mac hack (1997) Add message to Order (1997) request for comment tag (1998) Emailer (1997) Emailer choke (1997) Associative lookup style? + bit more (1997) Errant Email. (1998) 2.1 pricing? (1998)