我在 Notepad++ 中有数千个条目(在其他混合文本中),我试图删除任意 2 个数字之间的破折号。
我有这样的数据:
text text this is text here
234-5678
this is more text here
123-4585 this is more text here
or text is here too 583-5974
期望的结果:
text text this is text here
2345678
this is more text here
1234585 this is more text here
or text is here too 5835974
我试过了:
Find: [0-9]-[0-9] (which works to find the (#)(dash)(#)
Replace: $0, $1, \1, ^$0, "$0", etc.