title: Groovy with replaceAll with wildcards
body: <p>Working on a script that will parse some of my java files. I am trying to use replaceAll() to get rid of some of the things that I do not need. So of it is static stuff which is easy, but some are harder. </p>
  
  <pre><code>MyWebsiteTests extends MYbaseTest {
  </code></pre>
  
  <p>So for this one I want to remove the extends and anything after it on that line. Thanks</p>