How can I clean HTML tags out of a ColdFusion string?

前端 未结 6 1751
南方客
南方客 2021-02-14 00:16

I am looking for a quick way to parse HTML tags out of a ColdFusion string. We are pulling in an RSS feed, that could potentially have anything in it. We are then doing some man

6条回答
  •  我在风中等你
    2021-02-14 00:40

    
    
    <]*>", '', 'ALL')>
    
    
    

    output b = "(PCB) <1 ppm"

    The Regex "<[^><]*>" will remove all tags and the characters inside those tags and will not remove single tags like < or > which can be used as less than or greater than symbol in string

提交回复
热议问题