I have a column of product descriptions with html tags embedded. I want to extract the beginning of each row up to the first html tag which is always .
I tried running text to columns to split on '<' but because there are several html tags in each row, the rest of the text is not left in tact.
How can I split the data on the first occurrence only?
I have ASAP Utilities but I couldn't figure a solution using those tools either.
3 rows of example data:
[TABLE="width: 705"]
<colgroup><col></colgroup><tbody>[TR]
[TD]RHYNOFIBRE A 5"� x 7/8"� 24X Rhynofibre "A" Silver Resin Fiber </P> </P>Features and benefits</P> <LI>Durable vulcanized fibre backing. <LI>High strength resin eliminates grit shredding. <LI>High initial cutting action. </P>Product specifications</P> <LI>Vulcanized fibre 0,8 mm backing. <LI>Aluminum Oxide abrasive. <LI>Modified synthetic resin bonding. </P>Application suggestions</P> <LI>Machine grinding and sanding of metalwork.
[/TD]
[/TR]
[TR]
[TD]RHYNOFIBRE A 6"� x 7/8"� 24X Rhynofibre "A" Silver Resin Fiber Disc </P> </P>Features and benefits</P> <LI>Durable vulcanized fibre backing. <LI>High strength resin eliminates grit shredding. <LI>High initial cutting action. </P>Product specifications</P> <LI>Vulcanized fibre 0,8 mm backing. <LI>Aluminum Oxide abrasive. <LI>Modified synthetic resin bonding. </P>Application suggestions</P> <LI>Machine grinding and sanding of metalwork.
[/TD]
[/TR]
[TR]
[TD]RHYNOFIBRE A 7"� x 7/8"� 24X Rhynofibre "A" Silver Polycarbonate Resin Fiber </P> </P>Features and benefits</P> <LI>Durable vulcanized fibre backing. <LI>High strength resin eliminates grit shredding. <LI>High initial cutting action. </P>Product specifications</P> <LI>Vulcanized fibre 0,8 mm backing. <LI>Aluminum Oxide abrasive. <LI>Modified synthetic resin bonding. </P>Application suggestions</P> <LI>Machine grinding and sanding of metalwork.[/TD]
[/TR]
</tbody>[/TABLE]
I tried running text to columns to split on '<' but because there are several html tags in each row, the rest of the text is not left in tact.
How can I split the data on the first occurrence only?
I have ASAP Utilities but I couldn't figure a solution using those tools either.
3 rows of example data:
[TABLE="width: 705"]
<colgroup><col></colgroup><tbody>[TR]
[TD]RHYNOFIBRE A 5"� x 7/8"� 24X Rhynofibre "A" Silver Resin Fiber </P> </P>Features and benefits</P> <LI>Durable vulcanized fibre backing. <LI>High strength resin eliminates grit shredding. <LI>High initial cutting action. </P>Product specifications</P> <LI>Vulcanized fibre 0,8 mm backing. <LI>Aluminum Oxide abrasive. <LI>Modified synthetic resin bonding. </P>Application suggestions</P> <LI>Machine grinding and sanding of metalwork.
[/TD]
[/TR]
[TR]
[TD]RHYNOFIBRE A 6"� x 7/8"� 24X Rhynofibre "A" Silver Resin Fiber Disc </P> </P>Features and benefits</P> <LI>Durable vulcanized fibre backing. <LI>High strength resin eliminates grit shredding. <LI>High initial cutting action. </P>Product specifications</P> <LI>Vulcanized fibre 0,8 mm backing. <LI>Aluminum Oxide abrasive. <LI>Modified synthetic resin bonding. </P>Application suggestions</P> <LI>Machine grinding and sanding of metalwork.
[/TD]
[/TR]
[TR]
[TD]RHYNOFIBRE A 7"� x 7/8"� 24X Rhynofibre "A" Silver Polycarbonate Resin Fiber </P> </P>Features and benefits</P> <LI>Durable vulcanized fibre backing. <LI>High strength resin eliminates grit shredding. <LI>High initial cutting action. </P>Product specifications</P> <LI>Vulcanized fibre 0,8 mm backing. <LI>Aluminum Oxide abrasive. <LI>Modified synthetic resin bonding. </P>Application suggestions</P> <LI>Machine grinding and sanding of metalwork.[/TD]
[/TR]
</tbody>[/TABLE]
Last edited: