by Luuk » Fri May 20, 2022 5:25 am
For the example, RegEx(1) can use a "Match" and "Replace" like...
^(T-)(\d\d)(\d\d)(\d\d)(-D\d+)$
\1\2-\3-\4\5
To conduct all 6-digit numbers inbetween hyphens, can put a checkmark inside "v2" with a "Match" and "Replace" like...
(?<=-)(\d\d)(\d\d)(\d\d)(?=-)/g
$1-$2-$3
To conduct all 6-digit numbers (even inside of words) can put a checkmark inside "v2" with a "Match" and "Replace" like...
(?<!\d)(\d\d)(\d\d)(\d\d)(?!\d)/g
$1-$2-$3