This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-15. For the latest, interactive version please visit https://mariadb.com/kb/.

multiple regexp_replace

hello -

i am using regexp_replace with much success. however, i am trying to do a replace on many items. the only way i know how to do a "chaining" is like the following:

regexp_replace(regexp_replace(regexp_replace(regexp_replace(............

this has quickly become unreadable. is there any way to do multiple replaces more like php or even jScript does it, in once statement?

thank you.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.