<div dir="ltr">hi<br><br>i have an html file with few different instances of:<br><br><br>&lt;span class=&quot;myclass&quot;&gt;<br>... some html, e.g. &lt;B&gt; blah blah &lt;a href=....&gt; &lt;/a&gt; &lt;/b&gt;<br>&lt;/span&gt;<br>
<br><br>i want to remove theses instances.<br>( the html inside the &lt;span&gt; varies between instances, and there is a non constant number of instances)<br><br>i thought of replacing &#39;&lt;[^/]&#39; (i.e. &#39;&lt;&#39; folowed by somthing else then &#39;/&#39; ) with &#39;{&#39; and &#39;&lt;/&#39; with &#39;}&#39; and then doing parenthesis matching<br>
however i need it done automatically in batch. (i can do parenthesis matching in vi. can i do this in sed ?)<br><br>thanks,<br>erez<br></div>