I have a program that loads lines from a user file, then selects the last part of the String (which would be an int)
Here\'s the style it\'s saved in:
na
I think most convenient way is:
BufferedReader
int
part using regular expression and replace
it with your new value.Please let me know if you need the Java program implemented above algorithm.