Replace code hunks or paragraphs according to input.