search - Add value before specific line in Notepad++ -
i've got document 38.000 lines.
i'd add <div class="kalle"> in front of each line contains word "kalle" , <div class="susi"> in front of each line contains word "susi".
can me how solve problem?
type ctrl+h, then
find what: ^(.*)(kalle|susi)
replace with: <div class="$2">$1
or
replace with: <div class="$2">$1$2 if want keep kalle , susi in string
regular expression must checked not dot matches newline
Comments
Post a Comment