// 设置新闻内容 notice.setContent(editorValue); Matcher m = Pattern.compile("<a[^>]*>([^<]*)</a>").matcher(editorValue); while (m.find()) { String filepath = m.group(1); notice.setFilepath(filepath); }
// 设置新闻内容 notice.setContent(editorValue); Matcher m = Pattern.compile("<a[^>]*>([^<]*)</a>").matcher(editorValue); while (m.find()) { String filepath = m.group(1); notice.setFilepath(filepath); }