正则替换比如有string= "aaaa <a> bbbb </a> cccc " 想要得到结果:aaaabbbbcccc 有没有办法用正则来写[解决办法]这样也写。用正则也行[解决办法]regex.replace(@ "(? <=]).+?(?=[\/IMG]) ", " ");