求一正则表达式现在有一字符串,如:com.a.database.data.user.如何将第二个data替换成fle.,前面的com.a是可变化的[解决办法]str.replaceAll("database.data","database.fle");干吗什么都用正则