I am trying to fetch contents of table from a wepage. I jsut need the contents but not the tags . I don\'t even need \"tr\" or \"td\" just
sed 's/<[^>]\+>//g' will strip all tags out, but you might want to replace them with a space so tags that are next to each other don't run together: becoming: one two onetwo. So you could do sed 's/<[^>]\+>/ /g' so it would output one two (well, actually one two).
That said unless you need just the raw text, and it sounds like you are trying to do some transformations to the data after stripping the tags, a scripting language like Perl might be a more fitting tool to do this stuff with.
As mu is too short mentioned scraping HTML can be a bit dicey, using something that actually parses the HTML for you would be the best way to do this. PHPs DOM API is pretty good for these kinds of things.