/* package whatever; // don't place package name! */
importjava.util.*;
importjava.lang.*;
importjava.io.*;
/* 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 str ="<h1>I can have any kind of text here</h1>\n<p> </p>\n<p><em><strong>When I see this variable :)</strong> I want to rebuild my html.</em></p>\n";
<h1>I can have any kind of text here</h1>
<p> </p>
<p><em><strong>When I see this </strong></em></p>
<p><em><strong> :)</strong> I want to rebuild my html.</em></p>