Add extractUrls method in StringUtil.java