在每个值后附加逗号,然后在单行中显示

Append comma after each value and then show in single line

我的 excel 中有大约 15000 行

ATM-12345678976-0001
ATM-12345675555-0002
ATM-12345675555-0003

等等……

I wanted to append comma after each value and then want in a single like like below :
ATM-12345678976-0001,ATM-12345675555-0002, ATM-12345675555-0003,.......

我怎样才能做到这一点?

  • Ctrl+H
  • 查找内容:\R
  • 替换为:, # 一个逗号和一个 space
  • 检查 环绕
  • 检查 正则表达式
  • 全部替换

解释:

\R          # any kind of linebreak (i.e. \r, \n, \r\n)

屏幕截图(之前):

截图(之后):