ormaaj 1635182747 learn k# a='aaabbbbccccc'; print -r -- "${a/*([^b])*(b)*([^b])/\2}"