标签:
/** * 不包含非法字符 */ public static final String DO_NOT_HAVE_ILLEGAL = "[^&\\\\<>‘\"]+"; /** * 不包含非法字符 */ public static final String DO_NOT_HAVE_ILLEGAL_SPECVAL = "^[^\\&<>\\\\]*$";
正则表达式汇总
原文地址:http://www.cnblogs.com/smile361/p/4267349.html