SyntaxFix
Write A Post
Hire A Developer
Questions
I just found this built into Oracle 10g if that is what you're using. I had to strip all the special characters out for a phone number compare.
regexp_replace(c.phone, '[^0-9]', '')