Skip to main content
Question

\d and \d+ not working in Extract Patterns regexp?

  • July 12, 2024
  • 1 reply
  • 30 views

Forum|alt.badge.img

Hi,

 

In my regular expression for extracting a text string it seems \d and \d+ don’t work like they are supposed to.

 

The string I’m looking to extract is “Nomen Nescio on maksanut laskun 490” (the name obviously varies), for which I thought “\w+ \w+ on maksanut laskun \d+” should work (it works on https://regex101.com/). This however produces no output in Zapier. 

 

When I remove the \d+ the regexp works as anticipated, yielding “Nomen Nescio on maksanut laskun”.

 

How could I catch the figure that comes after the text “… on maksanut laskun”?

 

Rgds,

 

Björn

 

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • July 12, 2024

Hi @BjörnE 

For us to have more context, post screenshots with how your Zap step is configured in EDIT mode.