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 Center175 J. Llorente Street +63 (32) 255-6921Cebu City, Cebu 6000 kengrome@webdna.netPhilippines 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:
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 Center175 J. Llorente Street +63 (32) 255-6921Cebu City, Cebu 6000 kengrome@webdna.netPhilippines 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:
Security Issue (1999)
includes and cart numbers (1997)
Menu to select product variations (1997)
Server IP address? (1998)
Running _every_ page through WebCat-error.html (1997)
MasterCounter Weirdness -Resolved! (1997)
Price Not Appearing (2000)
format_to_days on NT (1997)
Cant open pages generated by Webcat (2004)
problem: search crashes webstar (1997)
Database not found in Include (2002)
Fun with dates (1997)
Exclamation point (1997)
[BULK] [WebDNA] triggers.db "next execute" fails to update (2012)
Limiting user access to .tmpl files (1997)
Summing fields (1997)
Off-Topic: List of common port numbers? (2002)
wrong input values? (1997)
RAM crash (1998)
caching -check- (2001)