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

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -