@Test
    public void testExtractLinksHttp() {
        List<String> links = RegexUtils.extractLinks(
                "Test with http://www.nutch.org/index.html is it found? " +
                        "What about www.google.com at http://www.google.de " +
                        "A longer URL could be http://www.sybit.com/solutions/portals.html");

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