Add withoutRegex method