Typescript Find A String In An Array Do The Groups