2014-11-14 30 views

回答

0

如何:

查找內容:(.+)
替換:DEBUT$1FIN

確保Regular Expression被選中,Dot matches newline也。
然後CLIC上全部替換

+0

這將文本添加到每一行。我需要在文檔的開頭和文檔的末尾添加文本。 –

+0

@xephon:不,如果您選中「Dot matches newline」,則不會。 – Toto

0

此作品在PythonScript

// Add the text "foo" before the first character 
editor.insertText(0, "foo") 
// Add the text "bar" after the last character 
editor.insertText(editor.getLength(), "bar") 
相關問題