for example:
<body>
text text
word1 word2
sentence text word
</body>
if i have text like this between tags the result is: "text text word1 word2 sentence text word" if i use stringtokenizer I get
text
text
word1
word2
sentence
text
word

what i need is that when read that text between tags and I want to get it as it was before. The result I need is:
text text
word1 word2
sentence text word