I am trying to do pattern matching which should only accept A-Z, a-z, hyphen, apostrophe; and should not accept numbers, special characters, space. It worked fine with the b