static String cleanUpperAcronyms(final String value)
    {
        final int length = value.length();
        for (int i = 0; i < length; i++)
        {
            final char c = value.charAt(i);
            if (!isUpperAlpha(c) && !isNumeric(c))
            {
                if (c != '_' && i > 2)
                {
                    final int index = i - 1;
                    return value.substring(0, index).toLowerCase() + value.substring(index);
                }

                return value;
            }
        }

        return value;
    }
@Test
    void testCleanUpperAcronyms()
    {
        assertEquals("ABee", cleanUpperAcronyms("ABee"));
        assertEquals("mdEntryTypeBook", cleanUpperAcronyms("MDEntryTypeBook"));
        assertEquals("MD_EntryTypeBook", cleanUpperAcronyms("MD_EntryTypeBook"));
        assertEquals("price9Book", cleanUpperAcronyms("PRICE9Book"));
    }