Notepad++ 的手册对于扩展搜索模式中使用的数字特殊字符相当模糊。它说: \d### - 十进制值(000 到 255 之间),但字面输入“\d###”与任何内容都不匹配。
我想做的是替换
if VarA == 12
VarB = 1
Run Code Online (Sandbox Code Playgroud)
和
if VarA == 12
Var12=1
VarB=1
Run Code Online (Sandbox Code Playgroud) 我在 Notepad++ 中编写了一个脚本,我想根据发言者突出显示各个行。我只是想找到一个可以更改单行文本颜色或背景颜色的地方。Notepad++ 中有内置的东西可以做到这一点吗?
如何在Notepad++中在整个文本中一次查找多个不同的字符并将其替换为相应的字母?例如,我有 32 个字符需要替换。所以我有像 \xe2\x80\x9c\xc3\x80\xe2\x80\x9d 这样的字符,我想用字母 \xe2\x80\x9cA\xe2\x80\x9d 替换它。接下来,我有像 \xe2\x80\x9c\xc3\x86\xe2\x80\x9d 这样的字符,我想用字母 \xe2\x80\x9c\xd0\x96\xe2\x80\x9d 替换它,所以在。一般来说,我有32个这样的角色,每次我都需要做同样的操作。有什么办法可以立即做到这一点吗?
\n\n
老问题是关于32 位的。他们正在研究 32 位。
但是在64 位记事本++中,工作插件要少得多,所以最快的解决方案是:打开简单的记事本,按 F5 并从那里复制日期时间。
是否有任何选项可以在不离开记事本++的情况下添加日期时间?
使用合法的 Chrome 插件手动抓取 Google 搜索结果后,我有以下信息(仅用于两个搜索结果):
The History Teacher (@THTjournal) | Twitter
https://twitter.com/thtjournal https://twitter.com/thtjournal
Vertaal deze pagina https://translate.google.nl/translate?hl=nl&sl=en&u=https://twitter.com/thtjournal&prev=search
Jim Carroll (@jcarrollhistory) | Twitter
https://twitter.com/jcarrollhistory https://twitter.com/jcarrollhistory
Vertaal deze pagina https://translate.google.nl/translate?hl=nl&sl=en&u=https://twitter.com/jcarrollhistory&prev=search
Run Code Online (Sandbox Code Playgroud)
我的目标是创建一个包含 Twitter URL 的列表,如下所示:
https://twitter.com/thtjournal
https://twitter.com/jcarrollhistory
Run Code Online (Sandbox Code Playgroud)
我有 Notepad++,那么如何使用它来获取仅包含 URL 的列表?其他所有内容都应删除。
我想删除除引号之间的所有文本。
我该怎么做?
例子:
Bran could hear the wind in the trees, the clatter of their hooves on the ironwood planks, the whimpering of his hungry pup, but Jon was listening to something else. “There,” Jon said. He swung his horse around and galloped back across the bridge. They watched him dismount where the direwolf lay dead in the snow, watched him kneel. A moment later he was riding back to them, smiling. “He must have crawled away from the others,” …
在 sublimetext 中,我经常使用组合键 CTRL+A、CTRL+SHIFT+L、END 来频繁地突出显示所有行并使用普通文本继续编辑每一行。(见图)
记事本++中的组合键是什么,或者你不能在记事本++中这样做?
使用记事本++,我想删除所有逗号,仅当它们在几个双引号之间时:
这是我的源字符串:
0.00,0.00%,"1,926.10","2,873.68","2,365.13",14.29%
Run Code Online (Sandbox Code Playgroud)
我想获得:
0.00,0.00%,"1926.10","2873.68","2365.13",14.29%
Run Code Online (Sandbox Code Playgroud)
如何使用记事本++实现这一目标?
谢谢
我试图找到一个正则表达式来替换这种格式的文本
balle spaziali
bambole e botte
calda emozione
fuori di testa
giovani diavoli
ragazze vincenti
ore contate
Run Code Online (Sandbox Code Playgroud)
通过这种方式
b.... s.......
b...... e b.....
c.... e......
f.... d. t....
g...... d......
r...... v.......
o.. c......
Run Code Online (Sandbox Code Playgroud)
你有想法吗?
我使用 notepad++ 作为文本编辑器,我不知道我是否需要批处理或 powershell 脚本。
谢谢你的任何建议
已解决:当我不在 VPN 上时,我的 WAN 上有一条通往另一台 PC 的血腥快捷方式,该快捷方式无法访问。我已经忘记了。我删除了那个,问题立即消失了。所有文件现在在所有应用程序中都可以快速打开。感谢大家的想法和时间!
截至过去 3 周,我通过 File->Open 在我的 [非常快] PC 上打开的任何文件都非常慢。这包括(但我确定不限于):
奇怪的是:如果我通过在文件资源管理器中双击打开文件,或通过任何应用程序中的“最近文件列表”打开文件,它会立即打开。只有在从任何应用程序中执行 File->Open 时才会出现缓慢。
第一次保存也很慢。后续保存(在同一个应用程序会话中)非常快。
打开这些小文件中的任何一个都需要持续大约 7 秒。
但如下文更详细的描述,在打开文件后,在同一会话中关闭文件后,它会立即再次打开。慢速保存只发生在第一次保存时,不会发生在后续保存时。
这个问题可能与一些事件同时发生,但可能完全无关:
我发现了类似的帖子,但总是更容易理解的场景:
以下是一些比较和细节:
notepad++ ×10
regex ×2
text-editors ×2
64-bit ×1
batch ×1
date-time ×1
fonts ×1
formatting ×1
highlighting ×1
notepad ×1
performance ×1
powershell ×1
ssd ×1
text-editing ×1