# Text parser match pattern

**URL:** <https://community.make.com/t/text-parser-match-pattern/55597>\
**Category:** Questions\
**Tags:** connections\
**Created:** [September 20, 2024, 8:23am UTC](https://community.make.com/t/text-parser-match-pattern/55597 "2024-09-20T08:23:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joachim\_M\_Vis](https://avatars.discourse-cdn.com/v4/letter/j/9e8a1a/32.png) [@Joachim\_M\_Vis](https://community.make.com/u/Joachim_M_Vis)\
**Post date:** [September 20, 2024, 8:23am UTC](https://community.make.com/t/text-parser-match-pattern/55597/1 "2024-09-20T08:23:55Z")

</div>

Dear all,  
the text parser does not work.  
I used regex {P-\d+}} to get only the Number P-001, P-002, etc.  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/1/a/1a931e6a8cb92242bc84d4286184655ebac2bf28.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/5/25ac3111a24cfac8d25504973f4a2a50f1aecca0.png)  
Thank you!

---

<div class="post-metadata">

**Author:** ![Henk-Blue\_Marker](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/henk-blue_marker/32/89127_2.png) [@Henk-Blue\_Marker](https://community.make.com/u/Henk-Blue_Marker)\
**Post date:** [September 20, 2024, 8:31am UTC](https://community.make.com/t/text-parser-match-pattern/55597/2 "2024-09-20T08:31:36Z")

</div>

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](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/7/07c61bd091284e5af020ed8549ae9576ebac4222.png)

Cheers,  
Henk

---

<div class="post-metadata">

**Author:** ![Joachim\_M\_Vis](https://avatars.discourse-cdn.com/v4/letter/j/9e8a1a/32.png) [@Joachim\_M\_Vis](https://community.make.com/u/Joachim_M_Vis)\
**Post date:** [September 20, 2024, 8:40am UTC](https://community.make.com/t/text-parser-match-pattern/55597/3 "2024-09-20T08:40:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Henk-Blue\_Marker](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/henk-blue_marker/32/89127_2.png) [@Henk-Blue\_Marker](https://community.make.com/u/Henk-Blue_Marker)\
**Post date:** [September 20, 2024, 8:41am UTC](https://community.make.com/t/text-parser-match-pattern/55597/4 "2024-09-20T08:41:28Z")

</div>

Test it, I would suggest!

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [October 4, 2024, 11:22am UTC](https://community.make.com/t/text-parser-match-pattern/55597/5 "2024-10-04T11:22:21Z")

</div>


