/* package whatever; // don't place package name! */
importjava.util.*;
importjava.lang.*;
importjava.io.*;
importjava.util.regex.Pattern;
importjava.util.regex.Matcher;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
publicstaticvoid main (String[] args)throws java.lang.Exception
{
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]";
Found value: Hello, World!
Found value: This is a minimal "hello world" HTML document. It demonstrates the basic structure of an HTML file and anchors.