acl bad_domains dstdom_regex ex
acl deny bad_domains
i think this should work(im out of squid's touch for half year already :P )..but it might as well block
www.example.com as well. its better for you to refine what actually you want block and then create a more detailed acl.