Is something wrong with Regex in Bubble or my mistake

I have the following data returned from Postmark as follows (ISO timestamp):


I am using Find and Replace with “Use a Regex pattern” checked to obtain the individual components of time with the following Regex expression:


Using $1 or $2 as replacement, I am getting the following results from Bubble: 2020-11-18T05:43:56Z.

Shouldn’t the data returned be 2020 for $1 and 11 for $2. I have also verified my results with

The weird thing is the following regex expression works where the major change is to replace “\d” with “.”:


Yes, something can be wrong when accessing a group array produced by regex.

Find and replace works, extracting groups tends not to.

This topic was automatically closed after 14 days. New replies are no longer allowed.