Hello,
Hope you all are safe!!!
I have a angular application where I have used syncfusion's rich text editor for client's report with bold, Italic and underline. When I print report, it shows only bold and Italic text. The text with underline formatting does not get printed.
So to print Underline text I have to replace their tags with some other tags. So how to do that?
This is my input string
- <span style="font-family: Arial, Helvetica, sans-serif;"><span style="text-decoration: underline;">This is the best wayspan>span>
In above string I have to replace with tag
- <span style="text-decoration: underline;">
- <u>
and its closing tag with tag
So I am expecting output string as
- <span style="font-family: Arial, Helvetica, sans-serif;"><u>This is the best wayu>span>
But how to find this closing tag .
As there are two closing span tag
Any help would be appreciated. Thank you


Laxmidhar SahooPosted Jul 5, 2020, 2:39 AM
dip sPosted Jul 4, 2020, 5:10 AM
Laxmidhar SahooPosted Jul 4, 2020, 12:59 AM
dip sPosted Jul 3, 2020, 7:00 AM