Help with Regex Expression Code

  • 22 October 2020
  • 1 reply

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

I have a code that works in 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.


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

Userlevel 2
Badge +1

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