Delete RegEx pattern