It's definitely not a worm, but it is really cool. Especially since it came out of a yellow.
While the partial digestion makes it hard to see what it actually is, it's probably either a
pipefish (I've seen yellows caught at the islands puke them up) or a baby
snipe-eel, a deep water eel that comes towards the surface to feed at night. I've seen them washed up on the beach at Scripps.
Either way, you're stoked! Congrats on the catch.
-Noah
www.facebook.com/yellowtailtagging