so i dont have any idea how do i write such program ..please help...
so i want to write a program in java which reads the text between two strings
like i the full text is
<name> XYZ </name>
so here i want to read the XYZ which can be anything i need the code so that it matches
<name> ---- </name> and fetch the string in between them
and save it to a string..
please help me on this ..i dont know where to start..
i think i need to use regular expresion that matches the pattern
<name> </name>
but dont know how to do that....please suggest.........