Parse text Regex issue

Hello,

I am currently working on a scenario in Make.com where I need to parse a film script into separate scenes. I’ve been using the following regex pattern to identify the start of each scene:

/(INT.?|EXT.?)[\s\S]*?(?=(INT.?|EXT.?|$))/g

This regex pattern works perfectly when tested on regex101, successfully capturing all the scenes based on the headers “INT” or “EXT” (with or without a period). However, when I use the same regex in the “Text Parser” module in Make.com, it does not seem to work as expected — it either returns an empty result or does not parse the text correctly.

Could there be any differences in how Make.com handles regex patterns, or is there a specific configuration required to make this regex work in Make.com?

I would appreciate any insights or guidance on resolving this issue.

Thank you!

Welcome to the Make community!

Could you go to regex101.com, paste in your Pattern at the top and paste a complete/full example text you are trying to match from below it?

Then, save the regex example and share the link with us here.

This will allow others to assist you here with your pattern. Thanks!

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.