I have similar requirements to those mentioned in this question: compare two phone numbers
I want to compare phone numbers which are in different formats. For example, +467856753421 = 07856753421 = 7856753421.
Is it possible to do it without using the google library recommended in the linked question?