Re: Numbers from Sentence

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 47999
interpreted = N
texte = Whaaa!? You mean my super-advanced [GetChars] solution wasn't what you were looking for! ;) Beer time. Later, y'all. [grep search=2&replace=34]Hello waitress, I would like 2 beers please.[/grep]-Dan ------------------------------------------------------------ http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656 ------------------------------------------------------------ On Fri, 21 Feb 2003 15:47:37 -0800 World Wide Art wrote: >>on 2/21/03 5:03 PM, World Wide Art at admin@world-wide-art.com so noted... >> >>> How would I get the numbers from a sentence. i.e. If I had: >>> >>> This is the sentence with 1,234 used somewhere in it. >>> >>> How would I get: >>> >>> 1,234 >> >>[grep search=[^0-9]&replace=]This is the sentence with 1,234 used somewhere >>in it.[/grep] >> >>Change the search string to [^0-9,] if you want to retain the comma (but it >>will keep *all* commas in the source text, not just those in numbers). > >Rob Thanks, > >This did it. > >------------------------------------------------------------- >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: Numbers from Sentence (Dan Strong 2003)
  2. Re: Numbers from Sentence (World Wide Art 2003)
  3. Re: Numbers from Sentence (Joe D'Andrea 2003)
  4. Re: Numbers from Sentence (Rob Marquardt 2003)
  5. Re: Numbers from Sentence (Dan Strong 2003)
  6. Numbers from Sentence (World Wide Art 2003)
Whaaa!? You mean my super-advanced [getchars] solution wasn't what you were looking for! ;) Beer time. Later, y'all. [grep search=2&replace=34]Hello waitress, I would like 2 beers please.[/grep]-Dan ------------------------------------------------------------ http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656 ------------------------------------------------------------ On Fri, 21 Feb 2003 15:47:37 -0800 World Wide Art wrote: >>on 2/21/03 5:03 PM, World Wide Art at admin@world-wide-art.com so noted... >> >>> How would I get the numbers from a sentence. i.e. If I had: >>> >>> This is the sentence with 1,234 used somewhere in it. >>> >>> How would I get: >>> >>> 1,234 >> >>[grep search=[^0-9]&replace=]This is the sentence with 1,234 used somewhere >>in it.[/grep] >> >>Change the search string to [^0-9,] if you want to retain the comma (but it >>will keep *all* commas in the source text, not just those in numbers). > >Rob Thanks, > >This did it. > >------------------------------------------------------------- >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/ Dan Strong

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:

carriage returns in data (1997) Misc Stuff That Might Help (1997) Emailer (1997) Re:How to Display text in empty fields (1997) Resume Catalog ? (1997) Mass Mail (2000) Not really WebCat (1997) How far do [showif]s go? (1997) Automatically submitting form with web cat. (2001) More Hide IFs (2000) WebCat2 - [SendNews] (1997) Shop till you drop dead on the avenue ... (1997) WebCat2 - [format thousands] (1997) Variable Prices (1998) [WebDNA] File permissions on Windows? (2010) Configuring E-mail (1997) Firesite and [referrer] atg broke (1997) creating a ShipCosts database (1997) New WebDNA Solutions ... (1997) Your Pay XML / LinkPoint (2005)