Question for perl fans:

I'm sure this is simple to do, but I can't figure it out. I want to strip
_every_ occurence of these characters out of an incoming string:

(  ) , . and a blank space

So, if the user sends me (in a POST):

(415) 365-2216

or

415-365.2265

or

415  365 2265 (two spaces, then one)

I will end up with 4153652216

There must be some regular expression that will do it, but I haven't been
able to swing it.

If anyone can offer a solution, I'd be happy to see it.

TIA,
Jack

____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------

Reply via email to