This works like you would expect. ``` javascript Joi.string().replace(/\*/g, '%') ``` Would replace all `*` with `%`. This use case is for converting default wildcards to wildcards from sql but can be used for many things.