REGEX- how do i return the Group vs. Match

Hi- I’m trying to capture a GROUP within Regex (“phone” value), so I can send the phone number to Whatsapp. However, when I am not sure how to isolate the numbers vs. full match.

Example:

  • Regex Match return: “phone”:”+12345”
  • What I am hoping to isolate: +12345

Here’s the expression with the whole JSON:

I normally just send the JSON back into Bubble with the backend workflow using the API connector which then allows you to read it normally. No need for regex. :blush: