Just looking for some help in doing this.
I have a directory containing files with names like this
ADYYF7FD
ABYYFX5B
BAYYFZ3D
The only common element is the YYF. I need to change those specific letters to something like XXY. How would I search for that pattern and change it in perl?? Sorry for not posting any code. I have seen numerous posts on looking for ending etc. But nothing that is related to just changing 3 Characters to another.
Any help is greatly appreciated!! TIA!!
I have a directory containing files with names like this
ADYYF7FD
ABYYFX5B
BAYYFZ3D
The only common element is the YYF. I need to change those specific letters to something like XXY. How would I search for that pattern and change it in perl?? Sorry for not posting any code. I have seen numerous posts on looking for ending etc. But nothing that is related to just changing 3 Characters to another.
Any help is greatly appreciated!! TIA!!