class AddressFormatUtil {

    public static String formatAddress(String address) {

        String text = "";

        if (address != null) {

            String regex = "(\\w{10})(\\w*)(\\w{10})";

            try {
                text = address.replaceAll(regex, "$1....$3");
            } catch (Exception e) {
                LogUtils.e(e.getMessage(),e.fillInStackTrace());
            }
        }
        return text;
    }

    private  AddressFormatUtil();

}