Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

SSRS VB Code to remove certain formatting

$
0
0

Hi,

I have inherited a number of SSRS reports which display information entered at source as rich text. The field within SSRS has the Markup type set as HTML. Simple switching this to plain text obvioulsy removes all formatting (not the desired result) - what I'd like is to be able to ignore specific markup, for example if the text is bold/strong or coloured I'd like some code which removes only these tags.

I guess I'm after a VB function which accepts the text, allows me to set the tag names to strip, and then returns the parsed string.

Any help with the VB would be greatly appreciated.

Thanks




Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>