The increasing incidence of melanoma has led to development of computer-aided diagnosis systems that classify dermoscopic images. A fundamental problem however during the pre-processing stage is the removal of artifacts such as hair. Hair strands introduce additional edges, which can be problematic when performing automatic skin lesion segmentation. This paper proposes a straightforward approach to automatic hair and consequently noise removal. The process starts with a median filter on each color space of RGB, a bottom hat filter, a binary conversion, a dilation and morphological opening, and then the removal of small connected pixels. The detected hair regions are then filled up using harmonic inpainting. Experiments were carried out on the PH2 datasets and compared to DullRazor. We also generated synthetic hair on skin images and measured the reconstruction quality using peak signal-to-noise ratio.