I am trying to understand this piece of codes:
for (File f : files) {
fileName = f.getName().toUpperCase().replaceAll("_\\d\\d\\d\\d_\\d\\d_\\d\\d_\\d\\d_\\d\\d", "");
if (fileName.equals(tableName + ".XML")) {
returnFile = f;
break;
}
}
and I am stuck at this part: replaceAll("_\\d\\d\\d\\d_\\d\\d_\\d\\d_\\d\\d_\\d\\d", "")
as far as I know it is trying to remove something from the name (maybe the underscore "_" ) but what exactly is _\\d\\d\\d\\d_\\d\\d_\\d\\d_\\d\\d_\\d\\d
Can somebody please explain?