Police have laid charges after a series of concerning knife attacks left residents of a major city shaken.