title: script to capture the package name from the commit message
body: <p>I am trying to set up a GitLab ci pipeline to delete packages, the pipeline will trigger only after the merge request is approved, and the package name is captured from the $CI_COMMIT_MESSAGE and pass it to the delete command to delete the package.</p>
  <p>But the $CI_COMMIT_MESSAGE which I have given during push (<em>decomm-xxx</em>) is been added with a few extra lines (<em>Merge branch <code>'ipl1</code>' into <code>'Condition</code>'
  decomm-zzz
  See Merge request lkjdscjnjsdcdsnjkjkj&quot;</em>) after the MR is approved and merged.</p>
  <p>How exactly can I capture the package name from the $CI_COMMIT_MESSAGE which I originally gave (<em>decomm-xxx</em>), I need to print only the text after &quot;<em>decomm-</em>&quot; but I am not able to print it.</p>
  <p>Any help on this would be much appreciated, thank you.</p>
  <p>Below is the screenshot's which I tried.
  <a href="https://i.stack.imgur.com/PsvMC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PsvMC.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/rN5Fa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rN5Fa.png" alt="enter image description here" /></a></p>