Skip to main content
Answer

Using formatter to extract with custom pattern

  • September 3, 2020
  • 3 replies
  • 126 views

Hi,

 

I am creating a custom workflow and using Zapier formatter with custom python regex with groups. 

Custom python regex

(?P<action>MY-DATA)\s+:desc:(?P<desc>.+):\s+:priority:(?P<priority>.+):

The text string I am trying to check with

MY-DATA :desc:please provide my information about https://mydata.com/thisismydata: :priority:3:

 

I used regex101 and it shows that its perfectly fine, but for unknown it is not working in Zapier formatter

https://regex101.com/r/22FIoy/1

 

Can someone help me in figuring out why this is failing.

 

Regards,

Mudasir

Best answer by ikbelkirasan

Hi @mudasirmirza - I tried your Regex and it seems to work. Not sure why it didn’t work for you.

 

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

3 replies

ikbelkirasan
Forum|alt.badge.img+12
  • Zapier Solution Partner
  • Answer
  • September 3, 2020

Hi @mudasirmirza - I tried your Regex and it seems to work. Not sure why it didn’t work for you.

 


  • Author
  • Beginner
  • September 3, 2020

Hi,

 

Same thing here, since yesterday it was not working and just now it started working without me changing anything


ikbelkirasan
Forum|alt.badge.img+12
  • Zapier Solution Partner
  • September 3, 2020

Great! Thanks for the update!