remove weight by part of the mesh in weightpaint mode
You can hide the part you want in edit mode: select and use H.

Then go in vertex paint mode and click on the 'vertex selection' button. The unwanted part will be hidden.

Then select all the remaining vertices using A to paint on them.