I know that the phrase 'It works for 5 minutes' is better but is the other one (It works 5 minutes) acceptable? Or is it completely incorrect? I know it sounds trivial, but it's impotant for me
If you're correcting multiple lines of text where only a few particular phrases need replacing, text editors such as MS Word (or even simpler ones) will allow you to type in the specific phrase and auto-replace the phrase or phrases. This saves a lot searching and doing unnecessary tedious labor.