[jQuery] trim string

[jQuery] trim string


Hi,
I have an array like this cat=(com12, com1, cop233, com1.1, sap-12-1)
I want to take out all the numbers and "." and "-" signs
the desire result is cat=(com, com, cop, sap)
how can i do that please ?