title: How do you replace repetitive text using preg_replace?
body: <p>I often have comment forms and lots of users post things such as !!!!!!!!!!! and  ??????????, and I want to use preg_replace to change them to !! and ??, with two maximum.</p>
  
  <p>Any idea how to do this?</p>