réécrit
I have rewritten this sentence.
J’ai réécrit cette phrase.
I have rewritten the letter three times.
J’ai réécrit la lettre trois fois.
I've rewritten the report.
J’ai réécrit le rapport.
This code needs to be rewritten.
Ce code doit être réécrit.