Modifying data within the same line

My file looks like this

But I need to move the frequency value (Freq) to the second position, leaving intact the numbers at the top. The resulting file should look like this

Thanks in advance!

Do you want to remove Freq from all the lines ?

Can you highlight the changes you need?

perl -ple 's/Freq (\d+);1/;$1/' file > outfile
1 Like

You are the man!
Thanks one more time!