Mandar Shinde

Mandar Shinde

  • NA
  • 423
  • 110.1k

Regarding use of replace function.

Sep 17 2019 2:35 AM
Dear all,
I hope you are doing well. I have developed one component using Angular 7 and ASP .Net MVC with Rest Api.
I am using editor to save some text entered by user. To print that text I am using Crystal report.
I am saving data entered by user as it is with html tags. For printing purpose I am using text interpretaion as HTML Text.
I want to replace that string like this :-
  1. <em><span style="text-decoration : underline">Hello</span></em>
with :-
  1. <i><u>Hello</u></i>
How can I do that with Formula in Crystal report or string.Replace() of C#.
What will be Regex if I want to use in C#. 
Please let me know any solution on this problem.
Thanking you in advance.
Regards.