This is a bristleworm. Bristle worms are common detravore that live in the live rocks and the sandbed of a reef tank. While these critters look mean and nasty 99% of them are totally harmless to your reef and your fish.
A common inhabitant of a reef tank or a FOWLR tank.
__________________ Remember dont tap the glass, your fish will think you're an idiot-Anonymous mother