text: According to the Wiki [1] the foot=no, (bicycle=no, etc) tags are necessary.
  Btw, there is a "key:motorroad" which might  fit in this particular case.
  
  Just to let you know, there are tools for mass edit, but don't forget to follow the mass-edit guidelines [2]
  
  [1]: https://wiki.openstreetmap.org/wiki/Highways
  [2]: https://wiki.openstreetmap.org/wiki/Automated_edits