title: Substitution Loop from regex
body: <p>I am stripping out some characters like bulletpoints we don't want from text files, and this regex has been working for many years.</p>
  
  <pre><code>$content =~ s/[\xA0\x80\x93\xE2]//g
  </code></pre>
  
  <p>However, we have a very large string from a file now (1.3Gig) that it's breaking on with the following error...</p>
  
  <pre><code>Substitution loop 
  </code></pre>
  
  <p>The regex looks ok, and from reading on the error and other people who have had the same problem, it looks like there may be some hardcoded internal substitution limit ?</p>
  
  <p>I am using Perl version 5.14.2 </p>
  
  <p>If it's just down to a hardcoded limit, is there any way around that, or a still efficient way to achieve the same that wouldn't hit this limit?</p>