AnsweredAssumed Answered

Remove text/characters between 2 identifiers

Question asked by cwentzel on Sep 11, 2018
Latest reply on Sep 13, 2018 by emha

I have a workflow that pulls text from a multi-line append text field.  I have everything working, except if a user copies and pastes data from another application into the field on the form.  When that happens, span class and font tags are embedded into the comment string.

 

I am looking for a solution, using Regular Expression, to remove the span and font tags, but leave the text within those tags, so I have a complete comment.

 

Example:

needs feedback if <span style="font-family:"calibri",sans-serif;font-size:11pt;"><font color="#000000">maintenance, support and service fees</font></span> are involved and...

I need to remove the everything in Red font, so the out looks like:

needs feedback if maintenance, support and service fees are involved and...

 

Thank you!

Outcomes