美文网首页
使用Notepad++给每一行加上双引号

使用Notepad++给每一行加上双引号

作者: 乘风破浪的姐姐 | 来源:发表于2020-05-08 15:24 被阅读0次

    有文本如下:
    10721
    10030
    10717
    76
    78
    595
    9605
    9657
    9665
    10385
    10386
    2364
    2366
    9650
    9652
    2376
    2379
    9666
    9649
    11106
    3926
    11479
    11301
    11285
    11286
    11298
    11296
    11292
    11469
    11308
    11306
    11288
    11310
    11293
    11289
    11297
    11295
    11169
    11170
    11171
    11172
    11174
    需要将上述内容每行加上双引号后,用逗号分隔并显示在一行
    解决方案:
    查找目标:\r\n
    替换为","


    image.png

    修改一头一尾,输出结果为:
    "2366","9650","9652","2376","2379","9666","9649","11106","3926","11479","11301","11285","11286","11298","11296","11292","11469","11308","11306","11288","11310","11293","11289","11297","11295","11169","11170","11171","11172","11174","2365","2367","356","9654","9662","2378","4019","11300","11304","2732","11105","11305","11302","11294","3927","11470","11474","11173","11287","11291","11309","11307","11290"

    相关文章

      网友评论

          本文标题:使用Notepad++给每一行加上双引号

          本文链接:https://www.haomeiwen.com/subject/ptvfnhtx.html