Article 4XE1B [SOLVED] sed command -replace html tags

[SOLVED] sed command -replace html tags

by
HolAmigo
from LinuxQuestions.org on (#4XE1B)
Hello all ,
i need to replace <i> tags with <em> tags .

For example :
<i>Hello World ! SOS </i>.

To:

<em> Hello World ! SOS </em>

This is what i tried : sed -r 's/<\/?i[^>]*>/<\/em[^>]*>/g'latest?d=yIl2AUoC8zA latest?i=fWb0-abBUJs:9FeEC4Rb9R0:F7zBnMy latest?i=fWb0-abBUJs:9FeEC4Rb9R0:V_sGLiP latest?d=qj6IDK7rITs latest?i=fWb0-abBUJs:9FeEC4Rb9R0:gIN9vFwfWb0-abBUJs
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments