Forum Discussion
JCountryman
Mar 09, 2023Copper Contributor
Cell has a list wrapped in html. Split list into 2 separated by special character
I have an excel file that has a list of items that are wrapped in html code. I would like to split it into 2 groups and move them into 2 different cells and separate the list with a special character...
Patrick2788
Mar 10, 2023Silver Contributor
I don't believe there's enough of a pattern to draw up a formula to clean each string that comes in. We can plan for the tags that appear in <> but the part that makes it difficult is the style information contains a lot of text that will change by the cell. For example:
<span style="font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 14.4px;">
<span style="font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 14.4px;">
Syed_Asad_Abbas
Mar 14, 2023Copper Contributor
What if we use BS4 to get clean text easily?