【问题标题】:How to remove some Number between two Slash in notepad++如何在记事本++中删除两个斜线之间的一些数字
【发布时间】:2015-02-08 13:28:19
【问题描述】:

我有这样的文档,我需要在notepad++中删除//之间的数字

    /554301/5e687cfh36825344e915e
 	/557040/756dj4405g376c0dd3c2f
 	/567600/287650cf27sdc77d5c73a
 	/566270/1fefd5w12345l89aa776d
 	/581080/09742m02568n481669da4
 	/629500/e4fa1234567aejhtre81a

到这里:

5e687cfh36825344e915e
756dj4405g376c0dd3c2f
287650cf27sdc77d5c73a
1fefd5w12345l89aa776d
09742m02568n481669da4
e4fa1234567aejhtre81a

【问题讨论】:

    标签: notepad++ slash


    【解决方案1】:

    如果notepad++支持用正则表达式查找&替换,你可以找到/\d+/并用替换它(什么都没有)。

    【讨论】:

    • 感谢您的帮助
    【解决方案2】:

    Notepad++ 支持Regular Expressions,所以你可以使用它。

    按照这些步骤,

    1. 在 Notepad++ 窗口中按 CTRL+F
    2. 转到Replace 选项卡。
    3. 在底部,选择Regular Expression
    4. Find What 字段中,输入/\d+/ 并将Replace With 字段留空。
    5. 点击Replace All

    【讨论】:

      猜你喜欢
      • 2022-11-10
      • 2013-12-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-01-21
      相关资源
      最近更新 更多