违反校规的英语短语可以表示为"violate school regulations"或"breach school regulations"。

例句:

He was punished for violating school regulations.
She was warned for breaching school regulations.