I wanted to include a string invalid character check in my application.
Like the field comment , if a user inserts any special characters
(Except '[' , ']' , '@' , '/' , '=' and numbers - alphabets) , the function should return true , if the string contains no special char in any position , the function should return false.
Can anyone design a function to check the special chars ?
Thanks so much.
Like the field comment , if a user inserts any special characters
(Except '[' , ']' , '@' , '/' , '=' and numbers - alphabets) , the function should return true , if the string contains no special char in any position , the function should return false.
Can anyone design a function to check the special chars ?
Thanks so much.
Comment