Add support for custom number mask as per request from @Ivan Gretsky