删除特定字符串后的所有内容(文本的其余部分)
Delete Everything(the rest of the text) after a specific string
如何删除像 'gnirts' 这样的字符串后的所有内容。这可能会让您更好地理解:
Before
使用查找和替换:
- 按 CTRL-H 打开“替换”对话框
- 将 gnirts.* 输入
Find what
- 将
Replace with
留空
- Select
Regular expression
和 .matches newline
- 点击
Replace
如何删除像 'gnirts' 这样的字符串后的所有内容。这可能会让您更好地理解: Before
使用查找和替换:
- 按 CTRL-H 打开“替换”对话框
- 将 gnirts.* 输入
Find what
- 将
Replace with
留空 - Select
Regular expression
和.matches newline
- 点击
Replace