KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to fetch contents of table from a wepage. I jsut need the contents but not the tags <tr></tr> . I don't even need "tr" or "td" just the content. for eg: <td> I want only this </td> <tr> and also this </tr> <TABLE> only texts/numbers in between tags and not the tags. </TABLE> also I would like to put the first column output like this in a new csv file column1,info1,info2,info3 coumn2,info1,info2,info3 I tried sed to deleted patters <tr> <td> but when I fetch table there are also other tags like <color> <span> etc. so I want is to delete all the tags; in short everything with < and > .
Tags (comma-separated)
Save Edits
Cancel