A process is described for removing phenol and formaldehyde from one aqueous waste stream and melamine and formaldehyde from a second aqueous waste stream with the process being adaptable for treating either stream or both streams simultaneously using a urotropination reaction to render formaldehyde removable by carbon adsorption.