Unusual Worm?

I came across this in the garden today. It was flat on the bottom and moved with it's head raised above the ground (the head is to the top left).  It was around 4 inches in length. Any ideas?

Paul

My bird photos HERE