The string of symbols used to replace or obscure written curse words is called grawlix.
Some commonly used grawlix symbols include ampersands (“&”), at signs (“@”), exclamation marks (“!”), dollar signs (“$”), and hash symbols (“#”). It’s also common to replace some letters in an offensive word with asterisks (“*”).