I didn't quite understand you, sorry. But I see no problem in getting
any information in Java.
If one can find the position of selected words, one may start, e.g.,
counting back and looking for the second whitespace. But I don't really
get in what d'you want.
Nevertheless I repeat that you can solve in Java almost any computable
task. And finding pos of words is some of a kind.
> Dear Friends
>
[quoted text clipped - 22 lines]
> Thanks and best regards
> Shal