Easiest method for removing html/xml <tags> from single-line output

SipaNova

New Member
I have output from grep I'm trying to clean up that looks like:\[code\]<words>Http://www.path.com/words</words>\[/code\]I've tried using...\[code\]sed 's/<.*>//' \[/code\]...to remove the tags, but that just destroys the entire line. I'm not sure why that's happening, since every '<' is closed with a '>' before it gets to the content.What is the easiest way to do this? Thanks!
 
Back
Top