Sounds very much like what I have been dealing with since I was a child--a bad case of sebhorretic dermatitis. You pull the hairs out because of the intense itching and end up with these bald spots/hair regrowth areas.
I can only recommend washing your hair every day and keeping your scalp clean. My dermatologist prescribed a steroid solution for me to use on the itchy spots when they are unbearable and it's made a big difference.
Accutane blasted the whole problem away, but unfortunately it came back a year later.
Hello,
From your symptoms fungal infection of the scalp should be ruled out. Get an examination and get a KOH examination of the skin scrapings done. If fungal infection is confirmed then you can use topical antifungal shampoos after consulting a dermatologist.
It is very difficult to precisely confirm a diagnosis without examination and investigations and the answer is based on the medical information provided. For exact diagnosis, you are requested to consult your doctor. I sincerely hope that helps. Take care and please do keep me posted on how you are doing.
Possibly 'Black piedra' .Do get a mycological workup. If identified treatment is simple.