sublimetext2 - Regex: how to find new line in code -
i have lot of html files text without <p>.
tags in code. try find , replace adobe brackets or sublime text 2:
find <br><br>\n replace </p>\n</p>
but not find \n in code
simplified, have:
some sentence, sentence<br><br> (i have 1 space here in code) sentence, sentence<br><br>
i convert:
some sentence, sentence</p> <p>some sentence, sentence</p>
(i know have add manually 1 <p>
@ beginning, not important , not point of question)
find:(.*)<br><br>\n? replace:<p>\1</p>\n
input:
some sentence, sentence<br><br> sentence, sentence<br><br>
output:
<p>some sentence, sentence</p> <p>some sentence, sentence</p>
Comments
Post a Comment