Using Masked Input For multiple formats with single filed

Hi

I am trying to work with the MaskedInput Widget and what I am trying to achieve is to use a single input to accept Landline or Mobile Numbers against the same field, is it even possible what I am trying to achieve as I can’t find any option where i could define 2 masks for the same input field