title: Codeigniter: Submit textarea with <script> inside
body: <p>As I've no idea where to search for this - perhaps somebody here can help me. </p>
  
  <p>I need the user to add something like this in a textarea:</p>
  
  <pre><code>&lt;script&gt; var foo  bar; &lt;/script&gt; 
  &lt;script type="text/javascript" src="http://foobar.de/mylist.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>But Codeigniter seems to have an in-built code-injection protection - so all I get after submission is: </p>
  
  <pre><code>[removed] var foo  bar; [removed] 
  [removed][removed]
  </code></pre>
  
  <p>How could I change this? I know it's insecure, but I need to parse the URL out. </p>
  
  <p>As alternative I need a jQuery function to parse this URL out.... and I'm not very familiar with regEx. ^^</p>
  
  <p>My PHP parser for this looks like this (copied from somewhere ^^):</p>
  
  <pre><code>$reg_exUrl = '/\b(?:(?:https?|ftp|file):\/\/|www\.|ftp\.)[-A-Z0-9+&amp;@#\/%=~_|$?!:,.]*[A-Z0-9+&amp;@#\/%=~_|$]/i';
  if (preg_match($reg_exUrl, $_POST['code'], $matches)) {
          $jsUrl = $matches[0];
  }
  </code></pre>