in reply to regexp: non-capturing grouping in replacement possible?

I'd write that as (untested):
s/^hello kitty \K0*([1-9][0-9]*)(?=x[0-9])/$1/;
It seem that all you want to do is remove leading 0s.