Self-indicating methylisocyanate resin, which functions as both a scavenger and an indicator for amines, was used for in-situ reaction monitoring and purification of a urea based library.