title: Matching specific string with replace all and regex in groovy
body: <p>I'm trying to match a specific string sequence in groovy with one or many wild cards in the middle. For example:</p>
  
  <p>(Where <code>XXXXXXXX</code> can be any character or number or symbol or space and can be any length)</p>
  
  <pre><code>String s = "What is your name? Hello my name is: XXXXXXX. Nice to meet you"
  
  String t = "Hello my name is: XXXXXXX. Nice to meet you"
  
  s.replaceAll("REGULAR EXPRESSION HERE THAT MATCHES THE STRING t", "My Name is Fred.");
  </code></pre>
  
  <p>This would yield the desired result of: <code>What is your name? My Name is Fred</code>.</p>
  
  <p>What would be the regular expression that matches <code>string t</code>, where <code>XXXXXXXX</code> can be any character or number or symbol or space and can be any length.</p>
  
  <p>Thanks in Advance!</p>