how to check a string for a special character?,"print('Valid' if re.match('^[a-zA-Z0-9_]*$', word) else 'Invalid')"