title: my code is right but Lua replace doesn't working (:gsub)
body: <p>Hello I am trying to replace a specific text to &quot;&quot; and my code doesn't working. I just don't know why my code not working</p>
  <pre><code>b = 'Just testing.&lt;script&gt;window.location.replace(&quot;http://google.com&quot;);&lt;/script&gt;'
  print(b)
  b = b:gsub('&lt;script&gt;window.location.replace(&quot;http://google.com&quot;);&lt;/script&gt;', &quot;&quot;)
  print(b)
  </code></pre>
  <p>out 1: Just testing.window.location.replace(&quot;http://google.com&quot;);<br>
  out 2: Just testing.window.location.replace(&quot;http://google.com&quot;);</p>
  <p>I tried <code>b = string.gsub(b,'&lt;script&gt;window.location.replace(&quot;http://google.com&quot;);&lt;/script&gt;',&quot;&quot;)</code> too but its doesn't worked either</p>
  <p>I am working in FiveM</p>