//var %x | .echo -q $regsub(blahblah,/^.(.)|(.).$/g,4\1,%x) | echo -a %x
i know i can do that with $right $left and $mid but i want to do it with regex so it will make the second letter with color and the second letter before the end, the problem is that it doesn't show the first letter and last
any ideas??