Best answer

Using formatter to extract with custom pattern

  • 3 September 2020
  • 3 replies
  • 95 views

Userlevel 1

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

icon

Best answer by ikbelkirasan 3 September 2020, 09:54

View original

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

Userlevel 7
Badge +12

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

 

Userlevel 1

Hi,

 

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

Userlevel 7
Badge +12

Great! Thanks for the update!