摘要:
有趣的时钟 转载:http://www.cnblogs.com/nackman/p/3186155.html 阅读全文
摘要:
public static String htmlText(String inputString) { String htmlStr = inputString; //含html标签的字符串 String textStr =""; java.util.regex.Pattern p_script; java.util.regex.Matcher m_script; java.util.regex.Pattern p_style; java.util.regex.Matcher m_style; java.u... 阅读全文
摘要:
public static String fliterSpecialSymbols(String keyword){ String regex = "[_+\\\\=\\[!/!`@#$%^&*()¥……(){}-【】;::\"“”> |、《》.。??,,'\\]]"; return keyword.replaceAll(regex, ""); }JS中过滤特殊字符function fliterSpecialSymbols(){ var Special_symbols = /[_+=[!\/!`@#$%^&*()¥ 阅读全文