A series of typographical symbols, such as $#!, used in text as a replacement for profanity is called a grawlix.