2013-11-15 16 views
0

我有90圖片名稱的列表:記事本++在一個列表中插入一個字

name1 
name2 
name3 
name4 
... 

我需要準備這樣的代碼:

<img alt="" src="/images/members/thumbnail-name1.gif" class="alignnone" width="36" height="36" /> 
<img alt="" src="/images/members/thumbnail-name2.gif" class="alignnone" width="36" height="36" /> 
<img alt="" src="/images/members/thumbnail-name3.gif" class="alignnone" width="36" height="36" /> 
    ... 

任何想法如何做到這一點與記事本+爲了省時間?

非常感謝,

回答

0

你可以這樣做:

搜索什麼:(.+)
替換爲:<img alt="" src="/images/members/thumbnail-$1.gif" class="alignnone" width="36" height="36" />

確保您檢查Regular Expression和未選中. matches newline

+0

感謝奏效完美!! – user260187

+0

@ user260187 /不客氣。隨時接受答案。 – Toto

相關問題