-1
我是一個非常沒有經驗的Notepad ++用戶,我實際上只做了複製粘貼在此處發佈的不同正則表達式查詢 - 以清除諸如遊戲服務器日誌等內容。現在我發現了一個無法通過Stackoverflow研究解決的問題。刪除特定行末尾的符號
我想刪除每行結尾處的最後一個字母(符號),但只有在它是「!」長話短說,我想有一個正則表達式查詢會得到我擺脫這樣的事情:
Jedi=Knight=Virdu: Hello everyone.!
Jedi=Master=Yvan: <bows his head, barely keeping his eyes open, like he is about to fall asleep>!
Padawan=Acodin has joined the spectators.
Padawan=Vic has defeated: Training Droid [NPC].
Jedi=Knight=Rus: Is something wrong, Master Yvan?!
並將其轉換爲:
Jedi=Knight=Virdu: Hello everyone.
Jedi=Master=Yvan: <bows his head, barely keeping his eyes open, like he is about to fall asleep>
Padawan=Acodin has joined the spectators.
Padawan=Vic has defeated: Training Droid [NPC].
Jedi=Knight=Rus: Is something wrong, Master Yvan?
提前感謝您的幫助!
該死的,那很容易。抱歉花費你的時間 - 我只是沒有任何知識。 – KelDor