Re: I need to get a [grep]

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 49875
interpreted = N
texte = Dan,[grep search=[^0-9]&replace=][/grep] will do the trick ..Alain> 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-7890 > > I want: > 1234567890 > > Thanks 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/ ------------------------------------------------------------- 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)
Dan,[grep search=[^0-9]&replace=][/grep] will do the trick ..Alain> 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-7890 > > I want: > 1234567890 > > Thanks 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/ ------------------------------------------------------------- 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/ Alain Russell

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:

Separate SSL Server (1997) Multipart/alternative e-mail (2003) WebCat2.0 [format thousands .0f] no go (1997) Nested tags count question (1997) all db's in one folder and protected (1998) (1997) WebCat2.0 [format thousands .0f] no go (1997) Smith Micro, possible listserver problems ... (2000) Still having problems with Authen (1997) Re:WebDNA Writer Needed (1997) Opinion: [input] should be called [output] ... (1997) This is an odd error (2001) [WebDNA] Does [referrer] get lost when server switches from http (2020) 2.0Beta Command Ref (can't find this instruction) (1997) Searching multiple Databases (1997) Cant get my own subtotal (2001) MacAuthorize order data fields WAS:How To question... (1997) [WriteFile] problems (1997) Yet another db manager (2004) Nested vs conditional (1997)