Create URL to Specific Office 365 URL: Solution

Could someone suggest a Regex solution or other tweak for the following issue I noticed.

This search/replace works for items in the Inbox:

image

But I actually need the search string to recognize anything up to and including the initial /id/ so that it would work on other mailboxes such as this:

image

What would be the equivalent Regex search/replace step in KM?