string - How to match files end not with regex -


i trying filter files not ending with, instance mp3 or wv.
have tried use ^.*(?<![mp3|wv])$ expression doesn't work.
please create valid expression.

you can use negative lookahead instead.

^(?!.*(?:mp3|wv)$).* 

Comments

Popular posts from this blog

amazon web services - S3 and apache mod_proxy with basic authentication -

How to install ruby on rails -

powershell - This solution contains one or more assemblies targeted for the global assembly cache -