I have seen a lot people carelessly pasting mountains of code with their question. They usually paste n lines of code when only one line is required. Somebody who tries to answer this question has to spend more time digging up the code to find the point of problem.
Also I saw instances where people post code that is not related to their question. Some posters paste a lot of hex data which is not required for question and ask questions like "how can I convert a jpeg image to an array like this in python?"
There are even cases where there is a lot of code but no valid question.
In my short journey with SO this was the most common and single annoyance I have found and that is the reason I have decided to ask here.
IMHO this happens mostly because some people are too lazy to ask question in a proper/formal way, not because any kind of ignorance.
Is there any regulation(like rule based filtering) exists for this?