A filter of solid particles for oil, gas, and water, having a headpiece comprising: a pipe substantially resistant to the chemical and physical damage caused by the material to be filtered, with the surface of said pipe defining a filtration area comprising a plurality of perforations that allow fluid to pass through the wall of the pipe, wherein said pipe comprises nuts on the ends thereof; a plurality of filtration rings made of a plastic material assembled in a concentric shape on said filtration area of the pipe, said rings being placed in parallel on top of each other, and wherein each of the rings comprises a plurality of internal extensions providing support on and separation from the pipe, defining a space for the fluid to circulate between the inner borders of the rings and the surface of the pipe, and one of the surfaces of each ring comprises perpendicular guiding extensions that fit into corresponding fitting perforations present in the neighbouring rings, and a plurality of supports distributed along the perimeter on one side of the ring, with the height thereof providing a distance of separation determined by the particle to be trapped; characterised in that the filter further comprises at least two supporting rings mounted on the pipe and placed on each end of the set of filtration rings, adjusting and defining at least one section, wherein each of said supporting rings is adjusted on the pipe by fixing means; and at least one intermediate separating ring placed between two filtration rings of the set of filtration rings and being configured for separating the plurality of filtration rings into a first and a second sub-sets of filtration rings; and wherein said intermediate separating ring is adjusted on the pipe by fixing means. a pipe substantially resistant to the chemical and physical damage caused by the material to be filtered, with the surface of said pipe defining a filtration area comprising a plurality of perforations that allow fluid to pass through the wall of the pipe, wherein said pipe comprises nuts on the ends thereof; a plurality of filtration rings made of a plastic material assembled in a concentric shape on said filtration area of the pipe, said rings being placed in parallel on top of each other, and wherein each of the rings comprises a plurality of internal extensions providing support on and separation from the pipe, defining a space for the fluid to circulate between the inner borders of the rings and the surface of the pipe, and one of the surfaces of each ring comprises perpendicular guiding extensions that fit into corresponding fitting perforations present in the neighbouring rings, and a plurality of supports distributed along the perimeter on one side of the ring, with the height thereof providing a distance of separation determined by the particle to be trapped; characterised in that the filter further comprises at least two supporting rings mounted on the pipe and placed on each end of the set of filtration rings, adjusting and defining at least one section, wherein each of said supporting rings is adjusted on the pipe by fixing means; and at least one intermediate separating ring placed between two filtration rings of the set of filtration rings and being configured for separating the plurality of filtration rings into a first and a second sub-sets of filtration rings; and wherein said intermediate separating ring is adjusted on the pipe by fixing means.