looks like an eucinid (probably spelled that wrong but will look it up later) and you were good to remove it. It will save you headaches down the road.
Yes I think that is it....I found this info...
Worms in the genus
Eunice, sometimes called "bobbit" worms are, if anything, more impressive than their
Palola cousins.
Eunice is a large genus, with well over 150 species, and it is hard to generalize about them. As with the
Palola, they have five antennae, including one in the center of the forehead and they all have jaws, in some cases wicked, scimitar shaped hooks with accessory spines and hooks. These are not jaws for chewing the prey or food item, but rather are jaws designed to ensure the food that, once seized, never gets away. Some of these worms get very large; the largest I have seen reported from reef tanks was in excess of 6 feet long, and individuals of
Eunice aphroditois may be much larger.
Eunice individuals tend to live in mucus-lined borrows in rock or sediments and may have several entrances to their tubes. Two distinct kinds of worms seem to be represented in this genus. One kind, which is benign in reef tanks, seems to be mostly scavenging its food. It lives in a burrow in the sediment, or more rarely, in a burrow in the rocks. When feeding, one of these worms will slowly extend from its burrow. They typically have four to six eyes and are quite capable of detecting motion outside the aquarium, and across the room. It will slowly search the surrounding area for food and if bothered by a fish, or its own shadow, will retract into its burrow with a velocity that has to be seen to be believed. Contraction back into a burrow has been clocked in excess of 20 feet per second, and if only a couple of feet of the worm are visible while it is foraging, that worm can disappear, quite literally, in the blink of an eye.