Parsing information of towers/barracks

parsing from unit name using a regex