regex to check for special characters code example
Example: regex match numbers and special characters
echo %H1E2L+L#O! | sed 's/[^A-Z!]//g' #replaces number and special
characters which aren't ! or an uppercase letter A-Z
echo %H1E2L+L#O! | sed 's/[^A-Z!]//g' #replaces number and special
characters which aren't ! or an uppercase letter A-Z