Numbers only from a string (server-side .js)

Added By: solidscripts

(3 of 5) by 4.
Rate Snippet:
Description:  This is a server-side javascript function for use with ASP that extracts only numbers from a string. Useful for removing dashes/spaces from credit card fields, for example.
Language:  JavaScript

Save to web space
E-mail Link

Code Snippet: