Algaecide will wipe it out but you need to address the root of the problem and running gfo, topping off with r.o. water (test for phosphates in it), water changes with zero phosphates in it and finally add a refugium with macroalgae in it to compete with the hair algae. Tangs, crabs, sea...