java remove file extension from file name code example
Example: java remove file extension from file name
fileNameWithOutExt = "test.xml".replaceFirst("[.][^.]+$", "");
fileNameWithOutExt = "test.xml".replaceFirst("[.][^.]+$", "");