<h1>this document contains information about me cse students. students are now doing their project.
they are<I> working </I>in different individual project. generally the <U>document</U> is just like a progess report .</h>
i want to get the word working which is in itatics and want 2 retieve the sentence containing that particular italic word.
You may use split()... for example,
<I> working </I>
You may split the whole string with regex "<I>" and </I> ( twice to execute that function ).... and now it returns a splitted Strings ( Now Array of Strings ).....
You can now search for "working".... that string should be in 2nd element of the String array..... and so on....
Base on your example,
Please correct me if im wrong,
sukatoa