expression to delete html code using wildcard?

General discussions about Advanced Find and Replace
Post Reply
wckc
Posts: 6
Joined: Mon Mar 20, 2006 1:54 am

expression to delete html code using wildcard?

Post by wckc » Wed Jun 09, 2010 8:20 pm

I need to delete some html code from many pages that have one variable in them.

they look like: <!-- back button --><TD ALIGN="CENTER"><FORM ACTION="http://www.booksofthebible.com/cgi-bin/quick_nav.cgi" METHOD="POST">
<!-- HIDDEN -->
<INPUT TYPE="IMAGE" BORDER="0" NAME="display_p1" SRC="gfx/B-back.gif"></FORM></TD>

The variable is the "NAME="display_p1""

the last page is: <!-- back button --><TD ALIGN="CENTER"><FORM ACTION="http://www.booksofthebible.com/cgi-bin/quick_nav.cgi" METHOD="POST">
<!-- HIDDEN -->
<INPUT TYPE="IMAGE" BORDER="0" NAME="display_p6334" SRC="gfx/B-back.gif"></FORM></TD>

The variable is the "NAME="display_p6334"

I would like to delete the the whole line from "<!-- back button -->" to "</FORM></TD>">
Wally

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests