rename :i { s/h/Heading_/ } /root/*[xsh:match(name(),'H[12]')] ;