Extends ActiveRecord validates_format_of validations with reusable and customizable validation methods.