Javaæ¨æºã®æ£è¦è¡¨ç¾ã©ã¤ãã©ãªã使ã£ã¦ãæååãå«ãè¤æ°ã®URLãåãåºãå¦çãæ¸ãã¦ã¿ãã ç°å¢ã¯ JDK 1.6 + Window XP. ã½ã¼ã¹ã³ã¼ã æ®éãªã STANDARD_URL_MATCH_PATTERN (æ¨æºçãªURLæ½åºãã¿ã¼ã³) ã§è¶³ããã¨æãããURLã®ãã©ã¡ã¼ã¿ã«æ¥æ¬èªãã®ã¾ã¾ãå«ãå ´å㯠GREEDY_URL_MATCH_PATTERN (貪欲ãªURLæ½åºãã¿ã¼ã³) ã使ãã import java.util.*; import java.util.regex.*; public class UrlExtractor { public static void main(String[] args) { String text = "abcde " + "<br> </br> & ' \"" + "http://www.nilab.info/ " + "htt
{{#tags}}- {{label}}
{{/tags}}