Regex correspond aux lettres et caractères spéciaux
var pattern = /^[a-zA-Z0-9!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]*$/
Bright Badger
var pattern = /^[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