Regex replace for phone number formatting in Architect expression?

Trying to format a raw E.164 number like +15551234567 into (555) 123-4567 inside an Architect Data Action. The standard replace functions don’t handle regex, so I’m stuck. Is there a built-in way to do this without calling out to an external API just for string manipulation? Seems silly to spin up a lambda for basic formatting.