How to rename files in specific way?

I have many files with filenames like this 06_01_01_h06ab_527-217_961-530.bmp, 06_01_06_h06c_84-339_307-626.bmp and 06_05_08_ha19_289-86_789-605.bmp

I want rename this files in this way

06_01_01_h06ab_527-217_961-530.bmp --> 06_01_01_h06ab_x527y217_961-530.bmp
06_01_06_h06c_84-339_307-626.bmp --> 06_01_06_h06c_x84y339_307-626.bmp
06_05_08_ha19_289-86_789-605.bmp --> 06_05_08_ha19_x289y86_789-605.bmp

How to do this ?

One way to do it:

[nowrap]Mode: Regular Expressions[/nowrap]
[nowrap]Old name: ^(.*)(\d+)-(\d+)(\d+-\d+)$[/nowrap]
[nowrap]New name: \1_x\2y\3_\4[/nowrap]
[nowrap] :ballot_box_with_check: Ignore extension[/nowrap]


Thanks