Regex Match Letters dan Karakter Khusus
var pattern = /^[a-zA-Z0-9!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]*$/
Bright Badger
var pattern = /^[a-zA-Z0-9!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]*$/
// remove all special characters except numbers & text A-X & a-z?
var name = name.replace(/[^a-zA-Z0-9 ]/g, "");
Regex.Replace(your String, @"[^0-9a-zA-Z]+", "")
/^[ A-Za-z0-9_@./#&+-]*$/
echo %H1E2L+L#O! | sed 's/[^A-Z!]//g' #replaces number and special
characters which aren't ! or an uppercase letter A-Z
{property.saleem}