Regular expression

Hello :waving_hand:

I do not succeed to match number from an email.

I put \d{0,2} \d{3},\d{2} as pattern :

but it doesn’t work.

Thanks for your help.

Welcome to the Make community!

You can use a Text Parser “Match Pattern” module with this Pattern (regular expression):

(\d{0,2} \d{3},\d{2})

Either turn on Global Match (not recommended), OR put brackets around the pattern.

Proof https://regex101.com/r/0uY7zY/1

Important Info

  • :warning: Global match must be set to NO!

For more information, see Text Parser in the Make Help Center:

Match Pattern
The Match pattern module enables you to find and extract string elements matching a search pattern from a given text. The search pattern is a regular expression (aka regex or regexp), which is a sequence of characters in which each character is either a metacharacter, having a special meaning, or a regular character that has a literal meaning.

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

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

1 Like

Ok, just brackets and it works. Thanks a lot !

1 Like

Yes. Brackets are also known as “Capturing Groups”.

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

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.