Hello I want to extract "Hello, World!" "and" and the Paragraph "This is a minimal....." from the given string in JAVA. I am having problems in extracting, so can anyone help me with it?
So I always get different Strings and want to extract the string between 2 square brackets []......[].
String s1="[sh1] Hello, World! [/s11] and [pp]This is a minimal "hello world" HTML document. It demonstrates the basic structure of an HTML file and anchors. [/xy]"
Thanks