public String regClass(String str){
        String reg = "([^\\s=]+)=(['\"\\s]?)([^'\"]+)\\2(?=\\s|$|>)";
        Pattern p = Pattern.compile(reg);
        Matcher matcher = p.matcher(str);
        return matcher.replaceAll("").replaceAll(" ", "");
    }

 

相关文章:

  • 2022-12-23
  • 2021-08-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-12
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-20
  • 2022-12-23
  • 2022-02-22
  • 2022-12-23
相关资源
相似解决方案