Forum Moderators: open
IS there a way to remove these? Possibly trim them on the action page itself?
(((((((Sammy))))))))))
Then use server side code to validate the submission for security reasons...
var s = "(((((((Sammy))))))))))";
s = s.replace(/[^a-z0-9]/ig,"");
This regular expression will remove any character that is not alpha (a-z) or numeric (0-9). The "i" makes the search case insensitive. The "g" makes the replace global.
- JS
Thx though you guys! :) **sammy**