Forum Academy Marketplace Showcase Pricing Features

Regex search & replace / extract for first name/last name


Trying to filter out invalid first names/last names.

I understood from other posts I should use the :extract with Regex function (or find & replace and compare number of characters)

But for some reason, I can’t get either of these two functions to work

Here is the Regex pattern i’m using and the setup, and the result from my test

Capture d’écran 2023-09-17 231444

Thanks for the help!

What is an invalid first name or last name?

bubble does not support specifying flags, and requires the regex without the surrounding slashes. (not /asdf/u but only asdf)
From a user experience point of view trying to force a first/last name pattern is full of problems and edge cases. See this interesting reading about it.