-1

I have a huge list of words where every one is in a new line. I'm currently using the text editor SciTE which can perform backslash expressions. Which expression do I need to use to add a _ (underscore) at the end of each word? This is an example list:

hello
world
foo
bar

This is how it should look like:

hello_
world_
foo_
bar_

1 Answer 1

0

With the "regular expression" checkbox active:

  • if there is a single word by line, you can simply replace $ by _.
  • to tell exactly to append the underscore to each word: replace \> by _

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .