Exception in thread "main" java.lang.Error: Unresolved compilation : <pre><code>public class Test {

  public static void main(String[] args) {
    // TODO Auto-generated method stub
    String str = "https:\/\/www.facebook.com\/GaladariHotel";
    str=str.replaceAll("\", "");
    System.out.println(str);
  }

}
</code></pre>

<p>I am using java as my programming language.
I want to print </p>

<pre><code>"https:\/\/www.facebook.com\/GaladariHotel" 
</code></pre>

<p>as follows:</p>

<pre><code>"https://www.facebook.com/GaladariHotel"
</code></pre>

<p>Can somebody help me to correct my code?</p>

<p>Thanks in advance </p>

<p>my application requirement is actually to extract the data from the following link
<a href="http://www.mocky.io/v2/5700dbc8120000ad1f7709ca" rel="nofollow">http://www.mocky.io/v2/5700dbc8120000ad1f7709ca</a></p>
