Question
Publicis Sapient
SG
Last activity: 17 Jun 2019 8:33 EDT
Want To Convert A Rich Text Value To Plain Text Which is Present Clipboard and Export It To Excel.
I have a functionality like i want to convert a rich text property to plain text. I am giving the property value for reference.
Actual:<p>Selenium Test Automation testing record30;:."-_@#$&$**%()&08 γ</p>
<p><span style="font-size:28px;"><span style="font-family:Verdana,Geneva,sans-serif;"><strong>εια κόσμο, αυτό είναι το 2019</strong></span></span></p>
Required:Selenium Test Automation testing record30;:."-_@#$&$**%();08εια κόσμο, αυτό είναι το 2019
I want a JAVA function to convert this type of text to normal plain text format.
Actually we are trying to pass this value to excel in excel the columns having this type of text are being divided into 2 or 3 rows and hence not sortable.
Attaching The Problem.
***Edited by Moderator: Lochan to update platform capability tags***