Skip to Main Content
Categories Expression Engine
Created by Henk-Jan van Pesch
Created on Dec 27, 2024

Expression engine: REGEXREPLACE across a localestring field => LSREGEXREPLACE

Please, fill in the below fields to enable the processing of your idea.

Who would benefit?

All users

What impact would it make?

Data consistency

How should it work?

I wan tto be able to search for a specific text string across all locales and replace it wiht something else.


Why is it needed?

Data consistency


Example: in our Long Description field some locales might contain "m2/h" as text string which I would like to replace with "m²/h" in all locales where it finds this text string.

More advanced would be if you could specify for which locale you would want to do the evaluation with a default for "all".

Currently, REGEXREPLACE doesn't work on localestring fields.


  • Attach files