Rename PDF based on Company names

Yes these scans are mine and OCR is performed on all of them. Probably around 27 companies in total. All PDFs have a different structure.

What I want to to is basically this

but unfortunately (Company A | Company B | Company C) doesn‘t work.