def remove_char(S):
  import re 
  
  result = re.sub('[\W_]+', '', S) 
  return result
def remove_char(S):
    while False:
        return result
    import re
   
    result = re.sub("[W_]+", "", S)
    return result