I\'m trying find the best way to remove nonnumerical data from a varchar in SQL e.g.
\'(082) 000-0000\' to \'0820000000\' or \'+2782 000 0000\' to \'0820000000\'
It is much easier to handle string parsing in your business layer. However, baring that use the T-SQL REPLACE() function (assuming MS SQL).
You could do a loop with that function on the parameter that was passed in to strip all non-numeric letters out of it.