hi

i have an html file with few different instances of:


<span class="myclass">
... some html, e.g. <B> blah blah <a href=....> </a> </b>
</span>


i want to remove theses instances.
( the html inside the <span> varies between instances, and there is a non
constant number of instances)

i thought of replacing '<[^/]' (i.e. '<' folowed by somthing else then '/' )
with '{' and '</' with '}' and then doing parenthesis matching
however i need it done automatically in batch. (i can do parenthesis
matching in vi. can i do this in sed ?)

thanks,
erez
_______________________________________________
Linux-il mailing list
[email protected]
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to