In TBC classic if you right-click a character’s name there is no option to report it as being in violation of the Code of Conduct.
On Hydraxian Waterlords there are two characters >edited< and >edited< which are clearly in violation of the policy as regards naming on RP servers. However it is impossible to report them using the ingame system since the right click method does not work.
The option to report a player is actually there, if you right-click the portrait you can select the option to report another player for language, name, guild name or cheating. If you do not see that, you may need to reset your interface.
Additionally please do not report names in our forums. It is considered to be against our forum guidelines. For this reason I had to edit the two names that you posted there.