The task is as follows: It is required to delete personal data from a large text file (for example, IP addresses), tell the library / method to parse large .txt files. Same as jsoup, only for .txt)

  • one
    HTML is a text data format, so Jsoup also parses text files. In what format is your data recorded? - Sergey Gornostaev
  • for this you can use regular expressions! - Sanaev
  • Text format - Timur Trotsky

1 answer 1

  1. Stringtokenizer
  2. Scanner
  3. Pattern
  4. String # split (...)

I found these options

  • one
    I'm not sure - this is the answer (if yes, then you should paint it before a full solution)? or addition to the question? - PashaPash