[BUG] How to remove a + from an email. Search member Ghost module Error 400

I am not sure where to report this error, but I found out that:

Search Filter Ghost error gives me this error

Request not understood error, cannot list members.
Error parsing filter"

when I search by email and that email contains a +. It works with normal emails, but the emails like name.surname+marketing@gmail.com do not work.

In the meanwhile we try to find to whom to address this issue (Ghost Devs, Make Devs), how to transform that email removing the + sign and leaving the @ and the .?

I mean, in Make.com is there a way to transform name.surname+marketing@gmail.com to name.surname@gmail.com ?

Welcome to the Make community!

To do this, you can use the built-in function replace

{{ replace(text; search; replace) }}

e.g.: (paste this into the field)

{{ replace(1.email; "/\+[^@]+/"; emptystring) }}

Proof: https://regex101.com/r/2dw7Dz/1

For more information, the function’s documentation can be found in the Help Centre. You should also complete the tutorials in the Make Academy.

Hope this helps! Let me know if there are any further questions or issues.

@samliew