remove begin and end tags and its content in between
Jennifer Jeng
jeng at cliffie.nosc.mil
Thu Apr 5 11:38:54 EDT 2001
Hi,
Is there a way to search for a specific html tags and remove the begin, end
tags include its content (begin tag can go multiple lines to the end tag)?
example:
replace:
this text is before the begin title tags and <title>dddfdfdkfdjfdjfldjfl
dkfdlfjdlf jdkjfdk
djkfd
dfdkfdkf</title> this text is
at the end of the
end title tag
to:
this text is before the begin title tags and this text is
at the end of the
end title tag
jj
Thank you
More information about the Python-list
mailing list