[SOLVED] How do you extract "first name" from "full name" field?

OK! I just found out how to do it.

I must be tired which is why it wasn’t working earlier. I was trying to use the :find and replace function with a regular_expression.

I found one at this stack overflow thread.

  • So when you pull out the Current User’s full name:find and replace

  • press the “use a regexp pattern”

  • insert this in the find: " .*(?:\n|$)" ( Be cautious, there is an important space in the beginning of that regexp )

  • leave the replace empty.

That is it! It works.

13 Likes