Remove asterisk from pattern