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

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -