class DataAnon::Strategy::Field::RandomFormattedString

Keeping the format same it changes each digit with random digit, character with character preserving the case.

!!!ruby
anonymize('PhoneNumber').using FieldStrategy::RandomFormattedString.new
anonymize('Email').using FieldStrategy::RandomFormattedString.new