notepad++ - How to copy/text in html and paste in new file? -


is there way can search specific pattern project(.html files) , paste new file.

using sublime text.

and list search , comment keyword not present in 1 more file.

example html files

<a href="javascript:void(0)" title="getalt('imagealt')">img</a> <a href="javascript:void(0)" title="getalt('imagealt2')">img2</a> <a href="javascript:void(0)" title="getalt('imagealt3')">img3</a> <a href="javascript:void(0)" title="getalt('imagealt4')">img4</a> 

get keyword'getalt' key in new file

imagealt imagealt2 imagealt3 imagealt4 

prop file

imagealt ="www.abc.com" imagealt2 = "www.abc1.com" imagealt22 = "www.abc11.com" imagealt3 = "www.abc2.com" imagealt4 = "www.abc3.com" 

search in prop file same name , rest should commented

result

imagealt ="www.abc.com" imagealt2 = "www.abc1.com" #imagealt22 = "www.abc11.com" imagealt3 = "www.abc2.com" imagealt4 = "www.abc3.com" 

any way in sublime or other task editor.

text editor cudatext has multi-carets. use multi-carets selection. after word jump right. copy/paste block of text.

help text.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -