Subj : Simple Javascript To : comp.programming From : Jim Date : Fri Jul 08 2005 01:24 pm Hello, Could someone give me an example of a function which will strip all of the following characters from a text field, and replace the SPACES with HYPHENS. I have very little knowledge of writing functions, so if you could be fairly specific, I would be very grateful. Characters to be stripped: ' , .. @ ! " £ % ( ) And all spaces to be converted to: - Kind regards, Jim. .