Advanced oxidation is a very efficient method in wastewater treatment, but it is a waste of resources to directly oxide the high concentration of valuable organics into carbon dioxide and water. In this paper, the combination of persulfate and wet air oxidation was developed to recover organics from high concentration of wastewater, along with high mineralization of the residual organics. Nitrogen and sulfur co-doped hollow spherical polymers with narrow size distribution was recovered from the simulated benzothialzole (BTH) wastewater in this facile way, along with chemical oxygen demand (COD) removal rate higher than 90%. The formation route of the polymers was intensively studied based on detailed analysis of different kinds of reaction intermediates. The polymers can be further carbonized into co-doped hollow carbon microsphere, which showed better performance in organic contaminants removal than a commercial activated carbon both in adsorption or catalytic persulfate oxidation. This proposed a new strategy to simultaneously combine oxidation and polymerization for resource recovery from wastewater with high concentration of heterocyclic compounds.