I want to remove all special characters (“,/{}etc.) from an input field being saved as a string to the DB.
What is the best approach?
Should this check be tackled with JS, ColdFusion or Microsoft SQL – Maybe all three?
How would I go about coding this using ColdFusion or Microsoft SQL?
You mean everything not alphanumeric?
I’d probably use a REReplace in the data layer.
Update: changed to include “space”.