# Escaping backslashes with REGEX Module

**URL:** <https://community.make.com/t/escaping-backslashes-with-regex-module/60090>\
**Category:** Questions\
**Tags:** regular-expressions\
**Created:** [November 7, 2024, 11:28am UTC](https://community.make.com/t/escaping-backslashes-with-regex-module/60090 "2024-11-07T11:28:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adam\_Klimes](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@Adam\_Klimes](https://community.make.com/u/Adam_Klimes)\
**Post date:** [November 7, 2024, 11:28am UTC](https://community.make.com/t/escaping-backslashes-with-regex-module/60090/1 "2024-11-07T11:28:33Z")

</div>

Hello,

**Context:** I have an automation that is triggered by incoming email notifications when a customer fills out a form on our store.

The automation relies heavily on REGEX patterns, as I extract each field from the HTML version of the email and send it to a database.

Recently, the template of the notification changed, so I needed to update the REGEX patterns.

**The Issue:** I tested my new REGEX patterns on [regex101.com](https://regex101.com/), and the pattern works exactly as I need it to:  
“”"  
href=[^“]_“(https?[^”]_[^”])\"  
“”"

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/8/9/8998c317c60c991fa84bda31eaa197f517ac16da.png)

However, when I use this pattern in Make for the exact same text (HTML content from the email template), it returns empty.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/a/7/a7ce40fe873b579a28952c9e0210109fc19cd166.png)

I am quite sure this is due to differences in how Make and regex101 handle patterns. This module, with all its settings, worked perfectly for my previous REGEX pattern.

I suspect the issue may be related to the escaping backslashes at the end of the pattern, but I’m not sure how to modify it for the Make engine. I basically need to get the exact same match that regex101 screenshot gives me.

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [February 5, 2025, 11:30am UTC](https://community.make.com/t/escaping-backslashes-with-regex-module/60090/2 "2025-02-05T11:30:38Z")

</div>

This topic was automatically closed because it's resolved or inactive. Please, start a new topic.


