This content has been marked as final. Show 4 replies
read in a .doc fileIs it a Microsoft Word file?
If it is, things aren't that simple on Java code.
no, it can be a simple text file
This Java API supports read/write for several Microsoft format files including .doc
I have used it only with excel files, where it works very well.
Check out String.replaceAll(String regex, String replacement)
Read the file into a string and use that.