open file ; rename Heading_1 /root/H1 ; rename Heading_2 /root/H2 ; save :b ; #### rename :i { s/h/Heading_/ } /root/*[xsh:match(name(),'H[12]')] ;