Magehunter Blade

Weapon (any sword), very rare (requires attunement)

You have a +2 bonus to attack and damage rolls made with this magic weapon. If you use this weapon to hit a creature that is under the effect of a spell, one spell of your choice affecting the target is dispelled if it is 5th-level or lower, and the target takes an extra 1d8 force damage for the level of the dispelled spell (dispelled cantrips deal no extra damage). Once a spell is dispelled, roll a d6. If the number is less than or equal to the level of dispelled spell, the sword loses this trait until the following dawn.

Source: Valda's Spire of Secrets