I have got a shapefile that contains ESRI formatting tags in the column I want to use for labeling the layer in QGIS. The following is an example for a label of one feature (3 Labels in different colors for one feature):
<CLR red='110' green='110' blue='110'>ST-SUD-VL-03-1</CLR>
<CLR red='0' green='92' blue='230'>ST-SUD-XX-03</CLR>
<CLR red='110' green='110' blue='110'>ST-SUD-XX-02</CLR>
As far as I know there is no support for inline styling in QGIS yet: https://github.com/qgis/QGIS/pull/2856
As it is not possible to use these tags for coloring the labels I would like to get rid of the tags to have a clean column that just contains the text that should appear on the map.
I know how to use 'replace' in the expression builder but haven't found out how use wildcards.
For example i want to delete all <CRL> ***</CLR>
-Tags but as the color-values are not static I cannot use a static replace-expression.
Any idea how to extract everything between the three opening- and closing- <CLR>
-tag?