I need to get a [grep]

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 49873
interpreted = N
texte = How would I [grep] out everything *BUT* numbers in a string?I'm working with a database that was compiled without constraining the input (naughty naughty), and the phone numbers have been entered all sorts of different ways (parenthesis, dashes, etc.)Example: 123-456-7890 or (123) 456-7890I want: 1234567890Thanks in advance, and I am looking through the archives as we speak...-Dan ------------------------------------------------------------ http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656 ------------------------------------------------------------------------------------------------------------------------- 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: I need to get a [grep] (Dan Strong 2003)
  2. Re: I need to get a [grep] (Alain Russell 2003)
  3. I need to get a [grep] (Dan Strong 2003)
How would I [grep] out everything *BUT* numbers in a string?I'm working with a database that was compiled without constraining the input (naughty naughty), and the phone numbers have been entered all sorts of different ways (parenthesis, dashes, etc.)Example: 123-456-7890 or (123) 456-7890I want: 1234567890Thanks in advance, and I am looking through the archives as we speak...-Dan ------------------------------------------------------------ http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656 ------------------------------------------------------------------------------------------------------------------------- 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:

Re:Password Authentication - request example (1998) Ken's grep question about renaming files to lowercase (2003) Can this be done? (1997) Bug Report, maybe (1997) Lookup Notfound (1998) Buggy Code (1998) Rendering out a page (1997) emailer (1997) Password problems with WebCat 4.01 (2000) WebCat on Alpha? (1997) WebCat2 several catalogs? (1997) WebCat2: Items xx to xx shown, etc. (1997) Adding multiple items to a DB from a search. (1998) Where is f2? (1997) Re:Password Authentication - request example (1998) [WebDNA] No more SQL in 7.1? (2012) Max Record length (1997) WebTen and WebCat (1997) Help name our technology! (1997) For Sale: WebTen 2.x and WebCat 2.x (2000)