fixed the task3 regex to insert dash correctly