Code of Alabama
Article 10 - Restrictive Covenants,
Section 8-1-193 - Voidable Restraints.

If a contractually specified restraint is overly broad or unreasonable in its duration, a court may void the restraint in part and reform it to preserve the protectable interest or interests. If a contractually specified restraint does not fall within the limited exceptions set out in subsection (b) of Section 8-1-190, a court may void the restraint in its entirety.