I currently have html code which I want to remove all
- <p> after any <blockquote>
- </p> before any </blockquote>
Below is an example of some of the html.
Code:
6. Under the global_policy map, assign the http inspection policy map against the match class map (class-http-match1) .
<blockquote>
<p> policy-map global_policy<br /> class class-http-match1<br /> inspect http policy-http1</p>
</blockquote>
<p>7. Assign global_policy to all interfaces.</p>
<blockquote>
<p> service-policy global_policy global</p>
</blockquote>
Ive tried using the following without success..
Code:
sed "s/<blockquote>'\n'/<blockquote>/g" inputhtml.txt