STL Object Splitting
You can do this automatically by:


Select your mesh
Enter edit mode
Select All
Press P then choose Separate by loose parts


If you want to separate the selected parts then:


Select your mesh
Enter edit mode
Select the part of mesh you want to separate from the mesh
Press P then choose Separate by Selection