Is it possible to replace my username in Terminal with special characters? I found this which seems close to the solution, but it's not quite there.

EDIT: With JavaScript, I know I can just run test.replace(/\w/g, "*"), where test is my username, but I don't know the equivalent for the Terminal.
The PS1 prompt is defined in /etc/bashrc and the default is usually PS1='\h:\W \u\$ '. You'd replace the \u with *****. You could also just add, e.g export PS1='\h:\W *****\$ ' to your ~/.bash_profile file, while leaving the system file (/etc/bashrc) alone.