What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: Grep to remove all characters except digits?

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44414
interpreted = N
texte = This might be the long way around... but it works.[text show=f]new_phone=[/text] [text show=f]no_chars=[countchars][phone_number][/countchars][/text][loop start=1&end=[no_chars]&advance=1] [!][/!][text show=f]phone_char=[getchars start=[index]&end=[index]][phone][/getchars][/text][showif 1234567890^[phone_char]] [!][/!] [text show=f]new_phone=[new_phone][phone_char][/text] [/showif][/loop][new_phone]----- Original Message ----- From: Kenneth Grome To: WebCatalog Talk Sent: Friday, October 25, 2002 11:38 PM Subject: Grep to remove all characters except digits? > 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/ >--- [This E-mail scanned for viruses by LRBCG.COM, Inc.] ------------------------------------------------------------- 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)
This might be the long way around... but it works.[text show=f]new_phone=[/text] [text show=f]no_chars=[countchars][phone_number][/countchars][/text][loop start=1&end=[no_chars]&advance=1] [!][/!][text show=f]phone_char=[getchars start=[index]&end=[index]][phone][/getchars][/text][showif 1234567890^[phone_char]] [!][/!] [text show=f]new_phone=[new_phone][phone_char][/text] [/showif][/loop][new_phone]----- Original Message ----- From: Kenneth Grome To: WebCatalog Talk Sent: Friday, October 25, 2002 11:38 PM Subject: Grep to remove all characters except digits? > 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/ >--- [This E-mail scanned for viruses by LRBCG.COM, Inc.] ------------------------------------------------------------- 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/ Matthew Bohne

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:

Date format (2000) Search context not finding recent entries (1998) WebCat2: Items xx to xx shown, etc. (1997) Nested tags count question (1997) RE: Help name our technology! (1997) Presenting a .txt file (2000) Help in Minneapolis (2000) Searching a field and returning the highest value (1997) Country & Ship-to address & other fields ? (1997) MY SOLUTION.... Send massmail (2000) More than one db with the same namn (was: WC2f3) (1997) [authenticate] (1999) HomePage Caution (1997) RE: formula.db, adding option prices (1997) SIMS Email Question (2003) CommandSecurity? (1997) [math] oddness .. (2002) Updating a database once per day - An example (1998) Running 2 two WebCatalog.acgi's (1996) Can't access globals folder (2003)