How to rename kind of files and not others

Hello.

I want to rename a lot of pictures files (jpg, jpeg, png...) with numbers (001.jpg, 002.jpg...) but not the others kind of files (actually only zip or cbz).
I wanted to make a regular expression which will choose all the files in the folders except the files with zip or cbz in the extension (I use the rename files in selected sub-folders option to rename a lot of directory at the same time).
So this is what I tryed to do this :

Old name : (.*).[^(zip|cbz)]
New name : [#].{ext}

But it doesn't work. All the files are renamed. What is wrong ? Someone can tell me which expression I should use ?

Thanks !!

Old Name: (.*)\.(?!(zip|cbz))
New Name: [#].{ext}

Ignore Extension: Off
Sequential Numbering: On

Perfect !
It works !!!

Thanks very much for your fast answer ! :smile: