(Without including any external libraries.)
What\'s the most efficient way to remove the extension of a filename in Java, without assuming anything of the f
I know a regex to do it, but in Java do i have to write like 10 lines of code to do a simple regex substitution?
With and without killing hidden files:
^(.*)\..*$ ^(..*)\..*$