You seem to be running the process backwards. Typically, we select a detergent for its other properties, then try to develop a good method for analyzing it via HPLC-UV. Often a detergent won't have a good absorbance in the UV, and we'll resort to MS, or ion chromatography. What have you tried so far, and what exactly is the problem?