$regexp(axxxz,x.*?z,) give a rather than axx as documented:
https://docs.mp3tag.de/actions/replace-regexp
Non-greedy repeats
Non-greedy repeats are possible by appending a '?' after the repeat; a non-greedy repeat is one which will match the shortest possible string.