I need to be able to check a text variable for HTML tags when our Users copy and

I need to be able to check a text variable for HTML tags when our Users copy and paste text into a form. I want to be able to 'strip' the HTML tags from the text variable if a User does a copy an paste, else just store the data in the text variable. I have used the following expressions and none of them seem to work:
if(contains(pv!projectDescription,"SPAN"),striphtml(pv!projectDescription),pv!projectDescription)
if(like(pv!projectDescription,"SPAN*"),striphtml(pv!projectDescription),pv!projectDescription)
if(find(pv!projectDescription,"SPAN")>0,striphtml(pv!projectDescription),pv!projectDescription)

Is there a way to check a text variable for HTML tags and strip the tags so that the data will display without the tags in the up coming forms?

OriginalPostID-204473

OriginalPostID-204473

  Discussion posts and replies are publicly visible