Grep to remove all characters except digits?

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44413
interpreted = N
texte = My goal is to strip every non-numeric character from a form-entered telephone number, so the resulting string contains only numeric digits. Can anyone post a grep that changes every non-numeric character to blank?Sorry, I don't know much about grep, although it seems that grep would be the best tool to use for this purpose ...Thanks. Sincerely, Kenneth Grome--------------------------------------------------- WebDNA Professional Training and Development Center 175 J. Llorente Street +63 (32) 255-6921 Cebu City, Cebu 6000 kengrome@webdna.net Philippines http://www.webdna.net ---------------------------------------------------------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Grep to remove all characters except digits? (Kenneth Grome 2002)
  2. Re: Grep to remove all characters except digits? (Kenneth Grome 2002)
  3. Re: Grep to remove all characters except digits? (Alain Russell 2002)
  4. Re: Grep to remove all characters except digits? (Matthew Bohne 2002)
  5. Grep to remove all characters except digits? (Kenneth Grome 2002)
My goal is to strip every non-numeric character from a form-entered telephone number, so the resulting string contains only numeric digits. Can anyone post a grep that changes every non-numeric character to blank?Sorry, I don't know much about grep, although it seems that grep would be the best tool to use for this purpose ...Thanks. Sincerely, Kenneth Grome--------------------------------------------------- WebDNA Professional Training and Development Center 175 J. Llorente Street +63 (32) 255-6921 Cebu City, Cebu 6000 kengrome@webdna.net Philippines http://www.webdna.net ---------------------------------------------------------------------------------------------------------------- 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://search.smithmicro.com/ Kenneth Grome

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:

Adding Header Values with [SetHeader] (1998) WC1.6 to WC2 date formatting (1997) [returnraw] and form variables (1998) Tax & Shipping (1997) problems with 2 tags shakur (1997) Smith Micro - no competition (2000) Tip of the day.. Sitebuilder Photo feature (2005) WebDNA 5 - Privacy Issue (Built in sniffer) (2003) Standalone Testing (1998) Multiply prices (1997) Server Error Question [bug?] (2004) shipcost (1997) WebCatalog Hosting (1996) Associative lookup style? + bit more (1997) RE: free zip codes database (1999) Emailer setup (1997) WebCat2b12 Mac.acgi--[searchstring] bug (1997) encrypted query string trouble on OSX (2001) [WebDNA] WebDNA news and projects (2014) RE: Last desperate attempt (1998)