Best answer

Extract pattern with Regex help

  • 5 July 2020
  • 3 replies
  • 1123 views

Userlevel 1

I’m trying to extract a pattern using REGEX and it works just fine in regex101 and in Integromat.

 

But in Zapier it doesn’t return the value. Is there some formatting error I’m running into?

Here is the regex code: 

^\s*(?<name>.+)\scompleted

here is the regex101 link to see the text I’m extracting from. 

https://regex101.com/r/XfR6Jx/1
 

any help is appreciated. Thanks community!

icon

Best answer by ikbelkirasan 6 July 2020, 17:50

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

@Coach Mike - The problem is that you’re using the PHP flavor in regex101. However, Zapier supports the Python flavor.

I have tweaked it for you: \s*(?P<name>.+)\scompleted

 

Userlevel 1

I am so grateful. That worked perfectly! @ikbelkirasan 

Userlevel 7
Badge +12

@Coach Mike - My pleasure! Glad I was able to help!