Skip to main content

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.

 

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