title: preg_replace()Delimiter must not be alphanumeric or backslash
body: <p>I have this code :</p>
  
  <pre><code>function queryString(){ 
      //matches up to 10 digits in page number
      $query_string = eregi_replace("page=[0-9]    {0,10}&amp;","",$_SERVER['QUERY_STRING']);
      return $query_string;
  }
  </code></pre>
  
  <p>and when im run it returns this error:
      Warning: preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash</p>