Text parser match pattern

Dear all,
the text parser does not work.
I used regex {P-\d+}} to get only the Number P-001, P-002, etc.
image


Thank you!

Hi @Joachim_M_Vis,

The text parser does what you ask it to do, if it doesn’t work, the regex is off. To extract text between curly braces {} from the string, you can use the following regex pattern:

\{([^}]+)\}

This pattern will match any text enclosed within {}.

Tip: you can use the AI to generate regex for you:
Screenshot 2024-09-20 at 10.30.46

Cheers,
Henk

1 Like

Great and it worked! How is it if I have many texts with {} and want to choose?

Test it, I would suggest!