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:

GuestBook example (1997) So .. How fast (2003) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) More on the email templates (1997) WebCatalog2 Feature Feedback (1996) Attn: Bug in GeneralStore example b15 (1997) RE: protect tag on NT (1997) Access Denied! But why? (1997) [TEST] - Please Ignore (2000) Re2: Calculating multiple shipping... (1997) [defined]ish (1997) This [search] worked before update to 4.5.1 (2003) Re:2nd WebCatalog2 Feature Request (1996) Google listings. (2006) [WebDNA] Updating a WebDNA db using AJAX? (2016) Nested tags count question (1997) eMail volume (2000) Where is f2? (1997) [OT] Mom's gift (2006) Zip Code Lookups (1999)