Dreamweaver在其“查找和替换”对话框中有一个非常方便的搜索选项,名为“忽略空格”。
通过检查,无论添加或删除多少行、制表符或空格,都可以找到相同的文本。以下所有这些变化都是相同的案文:
search for me please
(添加一些空格)
search for me please
(新增一行)
search for me
please
如何在忽略所有空白的同时使用Notepad++进行搜索?
我想拆分一个如下所示的字符串:
1. Richard Freitag Ger 370 2. Andreas Wellinger Ger 319 3. Daniel Andre Tande Nor 280 4. Stefan Kraft Aut 212 5. Johann Andre Forfang Nor 205
我想把这个文本除以索引号(1,2,…)。输出应该如下所示:
1. Richard Freitag Ger 370
2. Andreas Wellinger Ger 319
... etc...
我尝试过StringTokenizer和循环,但是它仍然不能正常工作。
我需要在一个列表中插入一个子列表,然后继续该项目中的文本:
1. Start of the item text
- First item of sublist;
- Second item of sublist;
More text of the first item.
2. Second Item
3. Third item
嵌套列表后的文本在呈现后没有正确对齐(应该与"Start“对齐,与”1.“对齐)。有什么建议吗?
我刚刚从PDT切换到PHPEclipse (因为PDT对我来说太不稳定了),但是现在我有一个问题,我不知道如何告诉PHPEclipse用空格而不是制表符来缩进PHP代码。我已经在以下首选位置启用了空格的使用:
PHPEclipse/PHP/Formatter/ (Unchecked "Indentation is represented by a tab")
General/Editors/Text Editors/ (Checked "Insert spaces for tabs")
*.php文件仅与PHPEclipse编辑器和标准文本编辑器相关联。PHPE