I wonder if you can help.
I have been tasked with extracting text from a CSV download from an app of a list of standard responses. As a download these contain multiple strings of characters such as:
<p>Hello {{ entity.person.display_name }}</p><p><br></p><p>Thank you for your reply.</p><p><br></p><p><p>
I want to be able to extract the text as:
Hello. Thank you for your reply.
The problem is that the text string lengths are random, the insertion and type of characters is random, the overall text length is random, and the text is all in one cell. Using Text to Columns enables one character at a time (such as <) which then creates a row of cells with the other character so the above text string now appears as (ie the < character has been deleted):
[TABLE="width: 704"]
<tbody>[TR]
[TD]p>Hello {{ entity.person.display_name }}[/TD]
[TD]/|p>[/TD]
[TD]|p>[/TD]
[TD]|br>[/TD]
[TD]|/p>[/TD]
[TD]|p>Thank |you for |your |reply.[/TD]
[TD]|/p>[/TD]
[TD]|p>[/TD]
[TD]|br>[/TD]
[TD]|/p>[/TD]
[TD]|p>
[/TD]
[/TR]
</tbody>[/TABLE]
It is possible to individually delete the contents of each cell and then concatenate the remaining text (and maybe then manually deleting other characters such as {{}} etc) but this is not realistic as there are more than a hundred of these.
Many thanks
HT
I have been tasked with extracting text from a CSV download from an app of a list of standard responses. As a download these contain multiple strings of characters such as:
<p>Hello {{ entity.person.display_name }}</p><p><br></p><p>Thank you for your reply.</p><p><br></p><p><p>
I want to be able to extract the text as:
Hello. Thank you for your reply.
The problem is that the text string lengths are random, the insertion and type of characters is random, the overall text length is random, and the text is all in one cell. Using Text to Columns enables one character at a time (such as <) which then creates a row of cells with the other character so the above text string now appears as (ie the < character has been deleted):
[TABLE="width: 704"]
<tbody>[TR]
[TD]p>Hello {{ entity.person.display_name }}[/TD]
[TD]/|p>[/TD]
[TD]|p>[/TD]
[TD]|br>[/TD]
[TD]|/p>[/TD]
[TD]|p>Thank |you for |your |reply.[/TD]
[TD]|/p>[/TD]
[TD]|p>[/TD]
[TD]|br>[/TD]
[TD]|/p>[/TD]
[TD]|p>
[/TD]
[/TR]
</tbody>[/TABLE]
It is possible to individually delete the contents of each cell and then concatenate the remaining text (and maybe then manually deleting other characters such as {{}} etc) but this is not realistic as there are more than a hundred of these.
Many thanks
HT