@Test
    public void testExtractLinksFtp() {
        List<String> links = RegexUtils.extractLinks("Test with ftp://www.nutch.org is it found? " +
                "What about www.google.com at ftp://www.google.de");

        assertTrue(links.size() == 2, "Url not found!");
        assertEquals("ftp://www.nutch.org", links.get(0), "Wrong URL");
        assertEquals("ftp://www.google.de", links.get(1), "Wrong URL");
    }
Test {@link RegexUtils#extractLinks(String)} for ftp.
tika-core/src/test/java/org/apache/tika/utils/RegexUtilsTest.java