Use indexOf() in a loop to fine the fourth ":" and use lastIndexOf() to find the last ":"
then use substring to get the part of the String in between.
Type: Posts; User: Norm
Use indexOf() in a loop to fine the fourth ":" and use lastIndexOf() to find the last ":"
then use substring to get the part of the String in between.
I'm not any good with regex.
Is this what the program is supposed to do:
find the fourth ":" and the last ":" on each line it reads, extract the substring that is between them and write that...
Can you post the code you are working on? I'm not sure what you are trying to do. Can you post the logic you think is needed to do what you want?
I don't see how regex is involved in determining...