Free Rename Master is a powerful Batch File Rename Tool.
It is small, yet fast and easy to use.
It is free!
You can rename ABC_123_XYZ.htm to ABC_XYZ.htm by using the filename patterns:
Old file name pattern: *_*_*.htm
New file name pattern: {$1}_{$3}.htm
Enjoy it!