I'm using matcher to pick different patterns of time, but when I write it, I'd like it to be written in the correct format, I tried using SimpleDateFormat ("HH: mm: ss"), but it did not work.
For example: The matcher found 17: 4441 in the text. I need somehow when I rewrite this String it returns 17:44:41;