regex - Notepad++ RexEx Remove everything between 2 html tags ( with line break between ) -
regex - Notepad++ RexEx Remove everything between 2 html tags ( with line break between ) -
i want remove in html document notepad++
everything between marked area start point remove ( including ) "<imgcrlf"
, between including crlf , including "detailscrlf</acrlf"
end ponint
i started simple <img.*<a/>
, ticked
and tried improve starting point got either nil deleted or much :)
use <img.*?</a>[\r\n]*
. .*
greedy. [\r\n]*
capture whitespace after </a>
.
also, if interested in matching <img
subsequent line breaks, can utilize regex:
<img[\r\n].*?</a>[\r\n]*
html regex notepad++
Comments
Post a Comment