title: How can I automatically delete dates and times in rows with EmEditor?
body: <p>I have a text file.
  There are hundreds of different filenames in the text file.
  However, it says different date and time at the end of each file.
  Sample: <code>life-in-cosmos-2021-11-11-12-45-46</code> or <code>life-in-cosmos-2021-11-11-12-45</code>.</p>
  <p>In order to change the names of the files in bulk, I first need to delete the dates in this text file.
  So I want to automatically delete the dates and times in each row.
  However, I don't know anything about this.
  And I don't know how to use macros.
  Therefore, if there is a solution for this, can you provide an answer with a picture or video?</p>
  <p>In order to explain my request more clearly, I present 2 examples.</p>
  <p>Example:</p>
  <p>Original Text: <code>cosmos-lights-colors-T5DAPC-2020-09-11</code></p>
  <p>The result I want to do: <code>cosmos-lights-colors-T5DAPC</code></p>
  <p>Example 2:</p>
  <p>Original Text: <code>cosmos-lights-colors-T5DAPC-2021-04-02-12-37-49-utc</code></p>
  <p>The result I want to do: <code>cosmos-lights-colors-T5DAPC</code></p>