Modulates the activity of a peptidase, any enzyme that hydrolyzes nonterminal peptide bonds in polypeptides.