Strip Tags for CSV export

Hi, I know we can use a function in data formats to strip tags on the client-side, but how can perform the same action within server actions?

I have a Database query which I export to a CSV file, but I don’t want the tags being included.

The tags are being generated by the Medium-Editor when inserting the data into the MS SQL database. I don’t want to strip the tags before the insert, as the tags are used to format the data correctly on the screen.

Any suggestions.

Thanks,
Ray

Community Page
Last updated: