I have a large CSV with a couple of columns containing HTML over hundreds of rows. I need to separate certain parts into new columns. For example, a cell can contain:
<style>.some-class{property:value;}</style><div class="title">This is a title</div><div class="description">This is a description></div>
I want to move the contents of title and description into separate columns, while removing all markup.
Is there way to do this using formulas rather than macros or VBA?
Thanks
It is not very solution but you can consider changing the strings inside to formula to get your desired string. It can do (though time-consuming) if you still can't find the best solution.
To prevent super long formulas, may be easier to split formulas over two columns and hide the column if you want. For example, if you text is the A column, then put these formulas in the following cells: into B1:
into C1:
into D1:
into E1:
then copy\fill down.