convert html content to table
Show older comments
Hi everyone! I have a file with this content :
<html xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas- microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40"> <head><META http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <table> <tr> <th>DATE</th><th>OPENING</th><th>MAXIMUM</th><th>MINIMUM</th><th>CLOSURE</th><th>VAR % CLOSE</th> <th>VOLUME</th> </tr> <tr> <td>10/24/22</td><td>12,900</td><td>13,042</td><td>12,761</td><td>12,964</td><td>0.00 </td><td>80421</td> </tr> <tr>.
this is a sample line of content. i would like to convert the file content into a table. thanks
7 Comments
Rik
on 22 Apr 2023
You forgot to ask a question. A few regular expressions will already do the trick, although there are probably dozens of ways to solve this. Which have you tried so far?
roberto
on 22 Apr 2023
Star Strider
on 22 Apr 2023
‘I download this file from a data server, ...’
What is the URL of the server?
roberto
on 22 Apr 2023
Star Strider
on 22 Apr 2023
Please provide the information about the platform.
Rik
on 23 Apr 2023
If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks).
roberto
on 23 Apr 2023
Moved: Star Strider
on 23 Apr 2023
Accepted Answer
More Answers (0)
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

