Skip to main content
Question

Help with Regex Expression Code

  • October 22, 2020
  • 1 reply
  • 57 views

I am new to Regex and trying to create an automated process using Zapier.  

I have a code that works in Regex101.com using PHP; however, I understand Zapier Formatter uses Python.

How do I convert (?s)(?<=CONTACT).*?(?=View) which is in PHP to Python so it will work in Zapier Formatter (Python).

My goal is to capture text between to strings (CONTACT and View) and do this for all occurrences.

Your help is greatly appreciated.

 

Did this topic help you find an answer to your question?
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

olivialook
Forum|alt.badge.img+1
  • New
  • 16 replies
  • October 22, 2020

Can you use the Python flavor on Regex101 (an option in the sidebar menu) to generate and test it in Python?