Remove pattern match