Forum Academy Marketplace Showcase Pricing Features

Remove html tags with regex


I need to have a RTE (Rich Text Editor) and a Text below that displays the RTE´s content but without the <h1>, [ml], [ul], etc....

I need a Regex pattern, something like: Rich Text Editor´s A value :extract with regex (remove all html tags).

Does anyone know anything about this?

Thanks in advance :slightly_smiling_face: :computer:

Is it just HTML tags? because [ml] isn’t i think?
It the format RTF?

A regex might work but seems like something that would have a bunch of edge cases.

Ohh, you are right

I now have a working regex (find & replace):

It removes all the characters betweeen the square brackets :grinning: :computer:

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.