Angular Typescript Check If String Contains Certain Characters