Google has answers, duh!
Found many interesting articles and studies on this subject; I guess I'm not the only one who has wondered if worms feel pain!
This I found the most interesting:
http://en.wikipedia.org/wiki/Pain_in_invertebrates