I have a table in Oracle where some rows have a column with embedded HTML string. I'd like to know the SQL required so that I can split the string into multiple fields/rows. The table example looks like this:
| ID | HTML_Content |
|---|---|
| 1 | <div>Where would you like to go today?<ul><li><a href="#" data-jump="1234567">Customer Service</a></li><li><a href="#" data-jump="2134583">Technical Service</a></li><li><a href="#" data-jump="8881234">Human Resources</a></li></ul></div> |
I'd like the output to look like:
| ID | Data_Jump | Content |
|---|---|---|
| 1 | 1234567 | Customer Service |
| 1 | 2134583 | Technical Service |
| 1 | 8881234 | Human Resources |
Thank you!