Mesodiplosis is according to Wikipedia "the repetition of a word or phrase at the middle of every clause". It's quite an uncommon term: it's not in Merriam-Webster online dictionary for instance. But you can find it e.g. in Brigham Young U's compilation of rhetorical terms "Silva Rhetoricae", which gives an example of the repetition of "not" or "but not" from 2 Corinthians 4:8-9
We are troubled on every side, yet not distressed; we are perplexed, but not in despair; persecuted, but not forsaken; cast down, but not destroyed.
It contrasts with anaphora (repetition at the beginning of a clause) and epistrophe (repetition at the end of a clause): the previously-mentioned Wikipedia article on repetition has a list of other terms.