UK inflation held steady at 3% in February, marking the final reading before Middle East tensions escalated.