trim dot and ignore case