title: Remove Characters After Number
body: <p>I have a string from a file which I need to remove all the characters after the substring &quot;c1525&quot;. Can regex be used for this? The pattern I am seeing is that all my strings have a &quot;c&quot; then 4 digits (although I have seen more than 4 digits, so need to take that into consideration).</p>
  <pre><code>d098746532d1234567c1525qFPXplFSm-FS8575664637338586224hKwHFmFSRRnm0Uc006566
  </code></pre>
  <p>expected:</p>
  <pre><code>d098746532d1234567c1525
  </code></pre>