I have a Visio for an element, and I would like to get only the element ID, without the DMA ID.
I know we can use [this elementID] to get both the DMA ID and element ID, but is there a way to get only the element ID?
Ailton Luz [SLC] [DevOps Advocate] Selected answer as best 25th January 2024
Hi Ailton,
Following the answer Jarno, a better regex expression would be
\d+\/(\d+)
instead of
\/(.*)
as the one mentioned would only remove the / and leave everything else and with the \d you restrict to digits which is what IDs use
Ailton Luz [SLC] [DevOps Advocate] Selected answer as best 25th January 2024